Skip to content

Commit

Permalink
[skip ci]Add build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
xrlin committed Jan 15, 2019
1 parent 9004c5e commit 1346524
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*.dll
*.so
*.dylib
bin/

# Test binary, build with `go test -c`
*.test
Expand Down
14 changes: 14 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SET CGO_ENABLED=0
SET GOOS=darwin
SET GOARCH=amd64
go build -o bin/goscheme-darwin-64 cmd/goscheme/main.go

SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build -o bin/goscheme-linux-64 cmd/goscheme/main.go

SET CGO_ENABLED=0
SET GOOS=windows
SET GOARCH=amd64
go build -o bin/goscheme-64.exe cmd/goscheme/main.go

0 comments on commit 1346524

Please sign in to comment.