File: rules

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

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

override_dh_auto_test:
	phpunit