making progress, almost ready to write to disk

This commit is contained in:
2019-12-19 04:39:42 -08:00
parent 255554db97
commit d2bd99801d
16 changed files with 323 additions and 145 deletions

View File

@@ -12,8 +12,6 @@ IMAGENAME := sneak/$(FN)
UNAME_S := $(shell uname -s)
GOLDFLAGS += -X main.Version=$(VERSION)
GOLDFLAGS += -X main.Buildtime=$(BUILDTIME)
GOLDFLAGS += -X main.Builduser=$(BUILDUSER)@$(BUILDHOST)
GOLDFLAGS += -X main.Buildarch=$(BUILDARCH)
# osx can't statically link apparently?!
@@ -39,7 +37,7 @@ clean:
build: ./$(FN)
.lintsetup:
go get -u golang.org/x/lint/golint
go get -v -u golang.org/x/lint/golint
go get -u github.com/GeertJohan/fgt
touch .lintsetup
@@ -53,7 +51,7 @@ go-get:
cd cmd/$(FN) && go build -o ../../$(FN) $(GOFLAGS) .
fmt:
go fmt *.go
gofmt -s -w .
test: lint build-docker-image