go-pass-gen/Makefile
2022-01-27 11:58:31 -04:00

24 lines
400 B
Makefile

EXECPATH = ./build/dist
lint:
golangci-lint run
dev:
air
build:
go build -o $(EXECPATH) .
run: build
$(EXECPATH) new
run-web:
go run main.go --web=t
web:
cd client && npm run start
test:
go test -json -count=1 ./... -coverpkg=./... -coverprofile coverage.txt -covermode=atomic | gotestfmt && go tool cover -html coverage.txt && rm coverage.txt
.PHONY: lint run dev run-web test build