add build style
parent
0cf8d1ab49
commit
d721ec1ebd
@ -0,0 +1,8 @@
|
||||
windows:
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o gormt.exe main.go
|
||||
mac:
|
||||
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o gormt main.go
|
||||
linux:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o gormt main.go
|
||||
|
||||
|
@ -0,0 +1,5 @@
|
||||
package main
|
||||
|
||||
//go:generate make mac
|
||||
//go:generate make windows
|
||||
//go:generate make linux
|
Loading…
Reference in New Issue