File: rules

package info (click to toggle)
php-hamcrest 2.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 892 kB
  • sloc: php: 6,332; makefile: 11; sh: 6
file content (14 lines) | stat: -rwxr-xr-x 348 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab --output hamcrest/Hamcrest/autoload.php hamcrest
	mkdir --parents vendor
	phpab \
		--template debian/autoload.php.tpl \
		--output vendor/autoload.php \
		tests generator

override_dh_auto_test:
	phpunit --include-path hamcrest --configuration tests/phpunit.xml.dist