wslkd/build.sh
xiaoqidun 95fa32b83e
All checks were successful
continuous-integration/drone/push Build is passing
chore(编译脚本): 添加CI自动编译脚本
2022-11-22 14:55:34 +08:00

2 lines
251 B
Bash

GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o release/wslkd_amd64.exe -trimpath -ldflags '-H windowsgui -s -w' wslkd.go
GOOS=windows GOARCH=arm64 CGO_ENABLED=0 go build -o release/wslkd_arm64.exe -trimpath -ldflags '-H windowsgui -s -w' wslkd.go