File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ check:
54
54
gofmt -l ${GOFILES_NOVENDOR} | (! grep . -q) || (echo " Code differs from gofmt's style" && false)
55
55
go vet ${GOFILES_GLIDE}
56
56
57
+ .PHONY : clean
58
+ clean :
59
+ rm -f ${BIN_DIR} /${BIN_FILE} *
60
+ rm -rf " ${BUILD_DIR} "
61
+
57
62
# Runs gofmt -w on the project's source code, modifying any files that do not
58
63
# match its style.
59
64
.PHONY : fmt
79
84
package :
80
85
debuild --preserve-env --preserve-envvar PATH -us -uc -d
81
86
87
+ .PHONY : release-build-github
88
+ release-build-github :
89
+ GOOS=linux GOARCH=amd64 make build-custom
90
+ GOOS=linux GOARCH=386 make build-custom
91
+ GOOS=linux GOARCH=arm make build-custom
92
+ GOOS=darwin GOARCH=386 make build-custom
93
+ GOOS=darwin GOARCH=amd64 make build-custom
94
+
82
95
.PHONY : cross-build
83
96
cross-build :
84
97
make repackage root=.. package=../$(BIN_FILE ) _$(VERSION ) _$(SYSTEM_ARCH ) .deb arch=386 os=linux
You can’t perform that action at this time.
0 commit comments