File: rules

package info (click to toggle)
php-webmozart-assert 2.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,220 kB
  • sloc: php: 7,114; xml: 13; makefile: 13
file content (16 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	phpab --output src/autoload.php src
	mkdir --parents vendor Webmozart
	ln -s ../src Webmozart/Assert
	phpabtpl --require-file ../Webmozart/Assert/autoload.php > debian/autoload.tests.php.tpl
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.tests.php.tpl \
		tests

override_dh_auto_test:
	phpunit