Skip to content

Commit

Permalink
chore(makefile): update
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadNews committed Mar 16, 2024
1 parent 3f2b941 commit aa7e699
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: all clean test default checks docker
.PHONY: all clean default run build checks pc test

default: build
default: checks

run:
go run cmd/deadnews-template-go/main.go
Expand All @@ -11,21 +11,13 @@ build:
goreleaser:
goreleaser --clean --snapshot --skip=publish

pc-install:
install:
pre-commit install

checks: pc-run test
checks: pc test

pc-run:
pc:
pre-commit run -a

test:
go test -v -race -covermode=atomic -coverprofile='coverage.txt' ./...

docker: compose-up

compose-up:
docker compose up --build

compose-down:
docker compose down

0 comments on commit aa7e699

Please sign in to comment.