Skip to content

Commit

Permalink
always rebuild and run ginkgo in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
onsi committed May 21, 2024
1 parent 5ce8355 commit 9e234ea
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# default task since it's first
.PHONY: all
all: install vet test

.PHONY: install
install:
which ginkgo 2>&1 >/dev/null || go install ./...
all: vet test

.PHONY: test
test:
ginkgo -r -p
go run github.com/onsi/ginkgo/v2/ginkgo -r -p

.PHONY: vet
vet:
Expand Down

0 comments on commit 9e234ea

Please sign in to comment.