You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415 |
- :: 删除目录
- rd /s /q _build
- md _build
-
- :: 编译主程序
- set GOOS=linux
- set GOARCH=amd64
- ::go build -ldflags "-s -w" -o "_build/ck.platform.tag"
- go build -o "_build/ck.platform.tag"
-
- :: 构建目录
- ::echo F | xcopy /y /c /q .\conf\app_svr.conf .\_build\conf\app.conf
- ::echo F | xcopy /y /c /q .\conf\default_svr.conf .\_build\conf\default.conf
- ::xcopy /y /e /c /i /q .\static .\_build\static
- ::xcopy /y /e /c /i /q .\views .\_build\views
|