sacrifice a dead chicken to the idiom gods
* passes linting now so should pass CI
This commit is contained in:
9
Makefile
9
Makefile
@@ -25,7 +25,7 @@ ifneq ($(UNAME_S),Darwin)
|
||||
GOFLAGS = -ldflags "-linkmode external -extldflags -static $(GOLDFLAGS)"
|
||||
endif
|
||||
|
||||
default: rundebug
|
||||
default: run
|
||||
|
||||
rundebug: build
|
||||
GOTRACEBACK=all DEBUG=1 ./$(FN)
|
||||
@@ -38,9 +38,12 @@ clean:
|
||||
|
||||
build: ./$(FN)
|
||||
|
||||
lint:
|
||||
.lintsetup:
|
||||
go get -u golang.org/x/lint/golint
|
||||
go get -u github.com/GeertJohan/fgt
|
||||
touch .lintsetup
|
||||
|
||||
lint: .lintsetup
|
||||
fgt golint
|
||||
|
||||
go-get:
|
||||
@@ -52,7 +55,7 @@ go-get:
|
||||
fmt:
|
||||
go fmt *.go
|
||||
|
||||
test: build-docker-image
|
||||
test: lint build-docker-image
|
||||
|
||||
is_uncommitted:
|
||||
git diff --exit-code >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user