提交 947de3d0 编写于 作者: J Jason

sth

上级 a4f8b304
:: go get -u github.com/UnnoTed/fileb0x
del web\www\* /Q /S
fileb0x b0x.yaml
\ No newline at end of file
pkg: wwwFiles
dest: "./web/www"
fmt: true
spread: true
custom:
- files:
- "./portal/dist/"
base: "portal/dist"
......@@ -24,11 +24,9 @@ ldflags="-X 'iot-master/args.Version=$version' \
-X 'iot-master/args.buildTime=$buildTime'"
export GOOS=linux
export CGO_ENABLED=1
# export CGO_ENABLED=1
#go build -o MyDTU main.go
go build -ldflags "$ldflags" -o iot-master-linux main.go
export GOOS=windows
#go build -o MyDTU.exe main.go
go build -ldflags "$ldflags" -o iot-master-win64.exe main.go
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册