We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a7944b commit a1a21d6Copy full SHA for a1a21d6
Makefile
@@ -1,8 +1,23 @@
1
NAME = vape
2
3
+BUILD_NUMBER=$(shell git rev-parse --short HEAD)
4
+
5
build:
6
go build -o $(NAME)
7
8
+clean:
9
+ rm -f vape
10
+ rm -f bin/vape*
11
+ rm -f dist/vape*
12
13
+release:
14
+ GOOS=darwin GOARCH=amd64 go build -o "bin/$(NAME)_darwin_amd64"
15
+ GOOS=darwin GOARCH=386 go build -o "bin/$(NAME)_darwin_386"
16
+ GOOS=linux GOARCH=amd64 go build -o "bin/$(NAME)_linux_amd64"
17
+ GOOS=linux GOARCH=386 go build -o "bin/$(NAME)_linux_386"
18
+ tar cvfz dist/vape-$(BUILD_NUMBER).tar.gz bin/vape*
19
+ gpg --sign dist/vape-$(BUILD_NUMBER).tar.gz
20
21
build-docker:
22
docker build -t symm/vape:latest .
23
bin/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
dist/.gitignore
0 commit comments