Skip to content

Commit e356140

Browse files
Make Makefile
1 parent bbb2fae commit e356140

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515

1616
vendor
1717
influencer
18+
bin

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
build: mkdir_bin build_mac build_linux build_win
2+
3+
build_mac:
4+
GOOS=darwin GOARCH=amd64 go build -o bin/influencer-for-mac
5+
6+
build_linux:
7+
GOOS=linux GOARCH=amd64 go build -o bin/influencer-for-linux
8+
9+
build_win:
10+
GOOS=windows GOARCH=386 go build -o bin/influencer-for-win.exe
11+
12+
mkdir_bin:
13+
mkdir -p ./bin

0 commit comments

Comments
 (0)