sacrifice a dead chicken to the idiom gods

* passes linting now so should pass CI
This commit is contained in:
2019-12-14 07:24:42 -08:00
parent 4b34043e07
commit 4d15e61fd6
11 changed files with 235 additions and 215 deletions

View File

@@ -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