diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..72e2c9c --- /dev/null +++ b/Makefile @@ -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 + + diff --git a/gogenerate.go b/gogenerate.go new file mode 100644 index 0000000..f421199 --- /dev/null +++ b/gogenerate.go @@ -0,0 +1,5 @@ +package main + +//go:generate make mac +//go:generate make windows +//go:generate make linux