File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 11/lemonade
2+ /dist /
3+ /pkg /
Original file line number Diff line number Diff line change 55
66install :
77 go install -ldflags " -X main.version=$( VERSION) "
8+
9+ release :
10+ gox --arch ' amd64 386' --os ' windows linux darwin' --output " dist/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" -ldflags " -X main.version=$( VERSION) "
11+ zip pkg/lemonade_windows_386.zip dist/lemonade_windows_386/lemonade.exe -j
12+ zip pkg/lemonade_windows_amd64.zip dist/lemonade_windows_amd64/lemonade.exe -j
13+ tar zcvf pkg/lemonade_linux_386.tar.gz -C dist/lemonade_linux_386/ lemonade
14+ tar zcvf pkg/lemonade_linux_amd64.tar.gz -C dist/lemonade_linux_amd64/ lemonade
15+ tar zcvf pkg/lemonade_darwin_386.tar.gz -C dist/lemonade_darwin_386/ lemonade
16+ tar zcvf pkg/lemonade_darwin_amd64.tar.gz -C dist/lemonade_darwin_amd64/ lemonade
17+
18+ clean :
19+ rm -rf dist/
20+ rm -f pkg/* .tar.gz pkg/* .zip
You can’t perform that action at this time.
0 commit comments