Skip to content

Commit

Permalink
build: exclude examples folder from test
Browse files Browse the repository at this point in the history
  • Loading branch information
cshum committed Mar 7, 2024
1 parent 095b323 commit bb1ed45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ build:
CGO_CFLAGS_ALLOW=-Xpreprocessor go build -o bin/imagor ./cmd/imagor/main.go

test:
go clean -testcache && CGO_CFLAGS_ALLOW=-Xpreprocessor go test -coverprofile=profile.cov ./...
go clean -testcache && CGO_CFLAGS_ALLOW=-Xpreprocessor go test -coverprofile=profile.cov $(shell go list ./... | grep -v /examples/)

dev: build
./bin/imagor -debug -imagor-unsafe
Expand Down Expand Up @@ -33,4 +33,4 @@ reset-golden:
git commit -m "test: reset golden"
git push

release: build git-tag
release: build git-tag

0 comments on commit bb1ed45

Please sign in to comment.