File: rules

package info (click to toggle)
phpunit-object-enumerator 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 120 kB
  • ctags: 42
  • sloc: php: 139; xml: 43; makefile: 16
file content (20 lines) | stat: -rwxr-xr-x 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	dh_auto_build
	phpab \
		--template debian/autoload.php.in \
		--output src/autoload.php \
		src

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	phpunit --bootstrap src/autoload.php
else
	@echo "** tests disabled"
endif

get-orig-source:
	uscan --force --verbose --rename