mirror of
https://github.com/rjNemo/go-pass-gen
synced 2026-06-06 02:46:40 +00:00
* add github actions * use codecov github actions * remove failing step * verbose * test all folders Co-authored-by: Ruidy <rnemausat@newstore.com>
24 lines
402 B
Makefile
24 lines
402 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.out -covermode=atomic | gotestfmt # && go tool cover -html coverage.out && rm coverage.out
|
|
|
|
.PHONY: lint run dev run-web test build
|