File: rules

package info (click to toggle)
php-symfony-security-acl 3.3.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,020 kB
  • sloc: php: 5,160; sql: 273; makefile: 25; xml: 20
file content (28 lines) | stat: -rwxr-xr-x 627 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	phpabtpl composer.json > debian/autoload.php.tpl
	phpab \
		--tolerant \
		--output autoload.php \
		--template debian/autoload.php.tpl \
		--blacklist '*\\tests\\*' \
		--exclude '*/.pc/*' \
		.
	mkdir --parents vendor
	phpabtpl \
		--require doctrine/cache \
		--require doctrine/common \
		--require doctrine/dbal \
		--require symfony/cache \
		--require-file ../autoload.php \
		> debian/autoload.tests.php.tpl
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.tests.php.tpl \
		Tests

override_dh_auto_test:
	phpunit --exclude-group nophpunit11