
We were using our makefile not for the intended purpose of makefiles but to multiplex a series of small scripts. We can easily achieve the same result in a more reasonable programming language and as a bonus we don't need to install a version of make on windows anymore. Additionally our test script had become fairly complicated and will become even more complicated when testing of PIE buildmode is introduced. Allows the tests to run on Windows without having to install Mingw (although we still want it installed so that we can run cgo tests on Windows). Fixes building when GOPATH isn't set. Fixes #759
25 lines
452 B
Makefile
25 lines
452 B
Makefile
.DEFAULT_GOAL=test
|
|
|
|
check-cert:
|
|
@go run scripts/make.go check-cert
|
|
|
|
build:
|
|
@go run scripts/make.go build
|
|
|
|
install:
|
|
@go run scripts/make.go install
|
|
|
|
test:
|
|
@go run scripts/make.go test
|
|
|
|
test-proc-run:
|
|
@go run scripts/make.go test -s proc -r $(RUN)
|
|
|
|
test-integration-run:
|
|
@go run scripts/make.go test -s service/test -r ($RUN)
|
|
|
|
vendor:
|
|
@go run scripts/make.go vendor
|
|
|
|
.PHONY: vendor test-integration-run test-proc-run test check-cert install build
|