php-katas-with-phpunit/Makefile
2020-07-03 22:51:55 +01:00

20 lines
292 B
Makefile

CLEAN_PATHS=vendor
PHPUNIT_PATH=vendor/bin/phpunit
all: test
clean:
@for dir in $(CLEAN_PATHS); do \
rm -fr $$dir; \
done
phpunit: vendor
@$(PHPUNIT_PATH) --colors=always --testdox
test: phpunit
vendor: composer.json composer.lock
@composer install
.PHONY: all clean phpunit test