Skip to content

Commit 32b03f6

Browse files
committed
Testing target
1 parent 2b9630e commit 32b03f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ apigen:
2121
VERSION=`cat debian/composer.json | grep version | awk -F'"' '{print $4}'`; \
2222
apigen generate --source src --destination docs --title "subreg ${VERSION}" --charset UTF-8 --access-levels public --access-levels protected --php --tree
2323

24+
test: pretest phpunit
25+
2426
pretest:
2527
composer --ansi --no-interaction update
2628

27-
phpunit:
28-
composer update
29-
vendor/bin/phpunit --bootstrap testing/bootstrap.php
29+
phpunit: pretest
30+
vendor/bin/phpunit --bootstrap tests/bootstrap.php
3031

3132
deb:
3233
dpkg-buildpackage -A -us -uc

0 commit comments

Comments
 (0)