File: rules

package info (click to toggle)
phpunit-code-unit 3.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,612 kB
  • sloc: php: 10,779; xml: 62; makefile: 16
file content (19 lines) | stat: -rwxr-xr-x 508 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
	phpabtpl \
		--basedir tests/_fixture \
		--require-file ../../src/autoload.php \
		--require-file tests/_fixture/file_with_multiple_code_units.php \
		--require-file tests/_fixture/function.php \
		> debian/autoload.tests.php.tpl
	phpab \
		--output tests/_fixture/autoload.php \
		--template debian/autoload.tests.php.tpl \
		tests/_fixture

override_dh_auto_test:
	phpunit --bootstrap=tests/_fixture/autoload.php