File: rules

package info (click to toggle)
dasprid-enum 1.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 200 kB
  • sloc: php: 777; xml: 24; makefile: 11; sh: 7
file content (19 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	phpab --output src/autoload.php \
		src

	phpabtpl --require-file ../src/autoload.php 2>/dev/null > debian/vendor-autoload.php.tpl
	# This is needed because at least 2 classes extend source classes
	# Planet and WeekDay in test/
	phpab --output test/autoload.php \
		  --template debian/vendor-autoload.php.tpl \
		test

override_dh_auto_test:
	# keep in sync with debian/tests/control
	phpunit --no-coverage --bootstrap test/autoload.php