File: rules

package info (click to toggle)
phpunit-exporter 4.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 15,864 kB
  • sloc: php: 620; xml: 49; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 368 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	phpabtpl composer.json > debian/autoload.php.tpl
	phpab --template debian/autoload.php.tpl --output src/autoload.php src
	# Making sure the current class is used at build time
	mkdir --parent SebastianBergmann
	ln -s ../src SebastianBergmann/Exporter

override_dh_auto_test:
	phpunit --bootstrap src/autoload.php