Skip to content
Snippets Groups Projects
Commit a994ea5f authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix Makefile syntax

parent 3bf5374a
No related branches found
No related tags found
1 merge request!4Better CI
Pipeline #146 failed
This commit is part of merge request !4. Comments created here will be created in the context of that merge request.
...@@ -8,32 +8,32 @@ GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/ | grep -v _test.go) ...@@ -8,32 +8,32 @@ GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/ | grep -v _test.go)
all: build all: build
lint: lint:
@golint -set_exit_status ${PKG_LIST} @golint -set_exit_status ${PKG_LIST}
test: test:
@go test -short ${PKG_LIST} @go test -short ${PKG_LIST}
race: dep race: dep
@go test -race -short ${PKG_LIST} @go test -race -short ${PKG_LIST}
msan: dep msan: dep
@go test -msan -short ${PKG_LIST} @go test -msan -short ${PKG_LIST}
coverage: coverage:
./tools/coverage.sh; ./tools/coverage.sh;
coverhtml: coverhtml:
./tools/coverage.sh html; ./tools/coverage.sh html;
dep: dep:
@go get -v -d ./... @go get -v -d ./...
@go get github.com/mitchellh/gox @go get github.com/mitchellh/gox
build: dep build: dep
@gox -output="eth-log-alerting-builds/{{.Dir}}_{{.OS}}_{{.Arch}}" -parallel=4 @gox -output="eth-log-alerting-builds/{{.Dir}}_{{.OS}}_{{.Arch}}" -parallel=4
clean: clean:
@rm -f $(PROJECT_NAME) @rm -f $(PROJECT_NAME)
help: help:
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' @grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment