gpio-webhook-server/Makefile

12 lines
199 B
Makefile

.PHONY: all build lint
all: lint build
lint:
golint ./...
build:
rm -rf build/
mkdir build/
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/smartswitch-server ./cmd/smartswitch-server