We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bded294 commit ef5aa3dCopy full SHA for ef5aa3d
Makefile
@@ -1,3 +1,6 @@
1
+ARTIFACTS_DIR=artifacts/${VERSION}
2
+GITHUB_USERNAME=sachaos
3
+
4
.PHONY: install
5
install: prepare
6
go install
@@ -13,6 +16,13 @@ test: prepare
13
16
.PHONY: prepare
14
17
prepare: filter_parser.go
15
18
19
+.PHONY: release
20
+release: prepare
21
+ GOOS=windows GOARCH=amd64 go build -o $(ARTIFACTS_DIR)/todoist_windows_amd64
22
+ GOOS=darwin GOARCH=amd64 go build -o $(ARTIFACTS_DIR)/todoist_darwin_amd64
23
+ GOOS=linux GOARCH=amd64 go build -o $(ARTIFACTS_DIR)/todoist_linux_amd64
24
+ ghr -u $(GITHUB_USERNAME) -t $(shell cat github_token) --replace ${VERSION} $(ARTIFACTS_DIR)
25
26
filter_parser.go: filter_parser.y
27
go get golang.org/x/tools/cmd/goyacc
28
goyacc -o filter_parser.go filter_parser.y
0 commit comments