File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ composer:
1010 elif test -r composer.phar; then \
1111 php composer.phar $(COMPOSER_ARGS ) ; \
1212 else \
13- echo " Cannot find composer :(" ; \
14- echo " Aborting." ; \
15- exit 1; \
13+ $(error Cannot find composer) ; \
1614 fi
1715
1816test : composer
@@ -22,9 +20,7 @@ test: composer
2220 elif test -r phpunit.phar; then \
2321 php phpunit.phar $(PHPUNIT_ARGS ) ; \
2422 else \
25- echo " Cannot find phpunit :(" ; \
26- echo " Aborting." ; \
27- exit 1; \
23+ $(error Cannot find phpunit) ; \
2824 fi
2925
3026apigen :
@@ -34,19 +30,15 @@ apigen:
3430 elif test -r apigen.phar; then \
3531 php apigen.phar generate; \
3632 else \
37- echo " Cannot find apigen :(" ; \
38- echo " Aborting." ; \
39- exit 1; \
33+ $(error Cannot find agigen) ; \
4034 fi
4135
4236mkdocs :
4337 @command -v mkdocs > /dev/null 2>&1 ; \
4438 if test $$ ? -eq 0; then \
4539 mkdocs build --clean; \
4640 else \
47- echo " Cannot find mkdocs :(" ; \
48- echo " Aborting." ; \
49- exit 1; \
41+ $(error Cannot find mkdocs) ; \
5042 fi
5143
5244release/% : release-log/%
You can’t perform that action at this time.
0 commit comments