File: rules

package info (click to toggle)
php-sabre-uri 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 132 kB
  • ctags: 47
  • sloc: php: 332; xml: 27; makefile: 15
file content (19 lines) | stat: -rwxr-xr-x 445 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 $@ --with phpcomposer

override_dh_auto_build:
	phpab	--output lib/autoload.php \
		--template debian/autoload.php.tpl \
		lib

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	phpunit --configuration tests/phpunit.xml.dist --bootstrap lib/autoload.php
	phpcs -p --standard=tests/phpcs/ruleset.xml lib
else
	@echo "** tests disabled"
endif

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