We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44bf858 commit 77ace05Copy full SHA for 77ace05
Makefile
@@ -1,6 +1,17 @@
1
+.PHONY: prepare install release
2
+
3
+ARTIFACTS_DIR=artifacts/${VERSION}
4
+GITHUB_USERNAME=sachaos
5
6
prepare:
7
go get github.com/gobuffalo/packr/packr
8
go generate github.com/sachaos/go-life/preset
9
10
install: prepare
11
go install
12
13
+release: prepare
14
+ GOOS=windows GOARCH=amd64 go build -o $(ARTIFACTS_DIR)/go-life_windows_amd64
15
+ GOOS=darwin GOARCH=amd64 go build -o $(ARTIFACTS_DIR)/go-life_darwin_amd64
16
+ GOOS=linux GOARCH=amd64 go build -o $(ARTIFACTS_DIR)/go-life_linux_amd64
17
+ ghr -u $(GITHUB_USERNAME) -t $(shell cat github_token) --replace ${VERSION} $(ARTIFACTS_DIR)
0 commit comments