Skip to content

Commit

Permalink
fix: add production build tag to test command in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-granthon committed Dec 7, 2024
1 parent 9cbcc7a commit bb679e4
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 @@ -22,9 +22,9 @@ serve:
t: test
test:
@if [ -z "$(module)" ]; then \
go test -v $$(go list ./... | grep -v 'ent/\|docs/\|_integration_test.go'); \
go test -v $$(go list ./... | grep -v 'ent/\|docs/\|_integration_test.go') -tags=production; \
else \
go test -v api5back/src/$(module); \
go test -v api5back/src/$(module) -tags=production; \
fi

# Test integration with optional module parameter
Expand Down

0 comments on commit bb679e4

Please sign in to comment.