File: phpunit

package info (click to toggle)
dasprid-enum 1.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 200 kB
  • sloc: php: 793; xml: 24; makefile: 11; sh: 7
file content (15 lines) | stat: -rwxr-xr-x 382 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set +x
set -e

phpabtpl --require DASPRiD/Enum composer.json > debian/vendor-autoload.php.tpl

# This is needed because at least 2 classes extend source classes
# Planet and WeekDay in test/
phpab --output test/autoload.php \
      --template debian/vendor-autoload.php.tpl \
    test

# keep in sync with debian/rules
phpunit --no-coverage --bootstrap test/autoload.php