File: rules

package info (click to toggle)
phpunit-environment 5.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 168 kB
  • sloc: php: 496; xml: 48; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab --output src/autoload.php src
	# Workaround to ensure the local class takes precedence during tests.
	mkdir --parents SebastianBergmann
	ln -s ../src SebastianBergmann/Environment

override_dh_auto_test:
	phpunit --bootstrap src/autoload.php