Correct configuration, improve logging.

This commit is contained in:
Anna Rose Wiggins 2020-05-12 03:21:26 +00:00
parent f363151045
commit 0cdafa2104
4 changed files with 8 additions and 6 deletions

View file

@ -1,9 +1,11 @@
.PHONY: all build deps
.PHONY: all build lint
all: build
all: lint build
lint:
golint ./...
build:
rm -rf build/
mkdir build/
# golint ./...
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/smartswitch-server ./cmd/smartswitch-server