File: rules

package info (click to toggle)
php-league-flysystem 1.1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 772 kB
  • sloc: php: 6,125; xml: 28; makefile: 16; sh: 11
file content (20 lines) | stat: -rwxr-xr-x 463 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 $@

override_dh_auto_build:
	phpabtpl composer.json > debian/autoload.php.tpl
	phpab -o src/autoload.php -t debian/autoload.php.tpl src

override_dh_auto_test:
	mkdir -p vendor
	phpabtpl \
		--require phpspec/prophecy \
		--require-file ../src/autoload.php \
		> debian/autoload.php.test.tpl
	phpab \
		-o vendor/autoload.php \
		-t debian/autoload.php.test.tpl \
		tests stub
	phpunit -v --include-path src --exclude-group integration