1 Star 0 Fork 211

x386/next-terminal

forked from dushixiang/next-terminal
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.sh 567 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
cp build/resources/logo.png web/src/images/logo.png
cp build/resources/logo-with-name.png web/src/images/logo-with-name.png
cp build/resources/favicon.ico web/public/favicon.ico
rm -rf server/resource/build
echo "clean build history"
echo "build web..."
cd web || exit
yarn build || exit
cp -r build ../server/resource/
echo "build web success"
echo "build api..."
cd ..
go mod tidy
go env;CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-s -w' -o next-terminal main.go
upx next-terminal
rm -rf server/resource/build
echo "build api success"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jnulit/next-terminal.git
[email protected]:jnulit/next-terminal.git
jnulit
next-terminal
next-terminal
master

搜索帮助