Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
Simplify Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Oct 27, 2020
1 parent 621adf3 commit 039816d
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
@@ -1,7 +1,7 @@
.PHONY: ci test prerequisites

# Use any most recent PHP version
PHP=$(shell which php7.4 || which php7.3 || which php)
PHP=$(shell which php)
PHPDBG=$(shell which phpdbg && echo -qrr || echo php)

# Default parallelism
Expand Down Expand Up @@ -60,7 +60,7 @@ ci-analyze: SILENT=
ci-analyze: prerequisites ci-phpunit ci-infection ci-phan ci-phpstan ci-psalm

ci-phpunit: ci-cs
$(SILENT) $(PHPDBG) $(PHPUNIT) $(PHPUNIT_ARGS)
$(SILENT) $(PHP) $(PHPUNIT) $(PHPUNIT_ARGS)

ci-infection: ci-phpunit
$(SILENT) $(PHP) $(INFECTION) $(INFECTION_ARGS)
Expand Down

0 comments on commit 039816d

Please sign in to comment.