| 1 | #!/bin/sh |
| 2 | |
| 3 | set +x |
| 4 | set -e |
| 5 | |
| 6 | phpabtpl --require DASPRiD/Enum composer.json > debian/vendor-autoload.php.tpl |
| 7 | |
| 8 | # This is needed because at least 2 classes extend source classes |
| 9 | # Planet and WeekDay in test/ |
| 10 | phpab --output test/autoload.php \ |
| 11 | --template debian/vendor-autoload.php.tpl \ |
| 12 | test |
| 13 | |
| 14 | # keep in sync with debian/rules |
| 15 | phpunit --no-coverage --bootstrap test/autoload.php |