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:
10
10
elif test -r composer.phar; then \
11
11
php composer.phar $(COMPOSER_ARGS ) ; \
12
12
else \
13
- echo " Cannot find composer :(" ; \
14
- echo " Aborting." ; \
15
- exit 1; \
13
+ $(error Cannot find composer) ; \
16
14
fi
17
15
18
16
test : composer
@@ -22,9 +20,7 @@ test: composer
22
20
elif test -r phpunit.phar; then \
23
21
php phpunit.phar $(PHPUNIT_ARGS ) ; \
24
22
else \
25
- echo " Cannot find phpunit :(" ; \
26
- echo " Aborting." ; \
27
- exit 1; \
23
+ $(error Cannot find phpunit) ; \
28
24
fi
29
25
30
26
apigen :
@@ -34,19 +30,15 @@ apigen:
34
30
elif test -r apigen.phar; then \
35
31
php apigen.phar generate; \
36
32
else \
37
- echo " Cannot find apigen :(" ; \
38
- echo " Aborting." ; \
39
- exit 1; \
33
+ $(error Cannot find agigen) ; \
40
34
fi
41
35
42
36
mkdocs :
43
37
@command -v mkdocs > /dev/null 2>&1 ; \
44
38
if test $$ ? -eq 0; then \
45
39
mkdocs build --clean; \
46
40
else \
47
- echo " Cannot find mkdocs :(" ; \
48
- echo " Aborting." ; \
49
- exit 1; \
41
+ $(error Cannot find mkdocs) ; \
50
42
fi
51
43
52
44
release/% : release-log/%
You can’t perform that action at this time.
0 commit comments