File: rules

package info (click to toggle)
phpunit-diff 7.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 29,932 kB
  • sloc: php: 4,348; xml: 47; makefile: 15
file content (19 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	phpab --output src/autoload.php src
	# Build classloader for tests
	mkdir --parents vendor
	phpabtpl \
		--require-file ../src/autoload.php \
		--require symfony/process \
		> debian/autoload.test.php.tpl
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.test.php.tpl \
		tests

override_dh_auto_test:
	phpunit --bootstrap vendor/autoload.php