Skip to content

Commit

Permalink
add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
shibumi committed Sep 6, 2020
1 parent b301c82 commit dafa3de
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
all:
windows-build
macos-build
linux-build

generate-assets:
go-bindata -o assets.go data
go fmt assets.go

windows-build:
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o mnemonic-windows-amd64.exe

macos-build:
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o mnemonic-apple-amd64

linux-build:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o mnemonic-linux-amd64

clean:
rm -v mnemonic-windows-amd64.exe
rm -v mnemonic-apple-amd64
rm -v mnemonic-linux-amd64

0 comments on commit dafa3de

Please sign in to comment.