构建脚本
This commit is contained in:
parent
f63f91d98e
commit
a7ab300ae6
|
@ -0,0 +1 @@
|
||||||
|
go build -o app ../../
|
|
@ -0,0 +1 @@
|
||||||
|
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o app ../../
|
|
@ -0,0 +1 @@
|
||||||
|
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o app ../../
|
|
@ -0,0 +1 @@
|
||||||
|
go build -o app ../../
|
|
@ -0,0 +1 @@
|
||||||
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o app ../../
|
|
@ -0,0 +1 @@
|
||||||
|
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o app ../../
|
|
@ -0,0 +1,2 @@
|
||||||
|
@echo off
|
||||||
|
go build -o app ../../
|
|
@ -0,0 +1,5 @@
|
||||||
|
@echo off
|
||||||
|
SET CGO_ENABLED=0
|
||||||
|
SET GOOS=linux
|
||||||
|
SET GOARCH=amd64
|
||||||
|
go build -o app ../../
|
|
@ -0,0 +1,5 @@
|
||||||
|
@echo off
|
||||||
|
SET CGO_ENABLED=0
|
||||||
|
SET GOOS=darwin
|
||||||
|
SET GOARCH=amd64
|
||||||
|
go build -o app ../../
|
Loading…
Reference in New Issue