php-katas-with-pest/Makefile

20 lines
248 B
Makefile
Raw Normal View History

2020-07-03 17:16:27 +00:00
CLEAN_PATHS=vendor
PEST_PATH=vendor/bin/pest
all: test
clean:
@for dir in $(CLEAN_PATHS); do \
rm -fr $$dir; \
done
pest: vendor
@$(PEST_PATH)
test: pest
vendor: composer.json composer.lock
@composer install
.PHONY: all clean pest test