Skip to content

Commit 6d5ef69

Browse files
committed
Pass GIT_BASE_SHA as comand line parameter as the previous approach with env var doesn't seem to work.
1 parent 8c9b7cf commit 6d5ef69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ecommerce/pricing/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ mutate: ## Run full mutation tests
1212

1313
mutate-changes: ## Run incremental mutation tests on changes
1414
@echo "Running incremental mutation tests against $(GIT_BASE_SHA)..."
15-
@MUTANT_SINCE=$(GIT_BASE_SHA) RUBYOPT="-Ilib -Itest" bundle exec mutant run 'Pricing*'
15+
@RUBYOPT="-Ilib -Itest" bundle exec mutant run --since $(GIT_BASE_SHA) 'Pricing*'
1616

1717
help:
1818
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%%-30s\033[0m %%s\n", $$1, $$2}'
1919

2020
.PHONY: install test mutate mutate-changes help
21-
.DEFAULT_GOAL := help
21+
.DEFAULT_GOAL := help

0 commit comments

Comments
 (0)