File: rules

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

%:
	dh $@ --with phpcomposer

override_dh_missing:
	dh_missing --fail-missing

override_dh_auto_build:
	# generate outoload-files. keep in sync with debian/tests/phpunit
	phpab --output src/autoload.php \
		--template debian/autoload.php.tpl \
		src
	mkdir -p vendor
	phpab --output vendor/autoload.php \
		--template debian/vendor-autoload.php.tpl \
		test

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	phpunit --no-coverage
endif