Skip to content

Commit

Permalink
add build style
Browse files Browse the repository at this point in the history
  • Loading branch information
谢小军 authored and 谢小军 committed Sep 16, 2019
1 parent 0cf8d1a commit d721ec1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 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


5 changes: 5 additions & 0 deletions gogenerate.go
@@ -0,0 +1,5 @@
package main

//go:generate make mac
//go:generate make windows
//go:generate make linux

0 comments on commit d721ec1

Please sign in to comment.