File: rules

package info (click to toggle)
php-webmozart-assert 1.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 844 kB
  • sloc: php: 6,092; xml: 16; makefile: 13
file content (16 lines) | stat: -rwxr-xr-x 353 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 webmozart/assert > debian/autoload.tests.php.tpl
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.tests.php.tpl \
		tests

override_dh_auto_test:
	phpunit