File: rules

package info (click to toggle)
php-arthurhoaro-web-thumbnailer 2.0.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 900 kB
  • sloc: php: 3,346; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
#export DH_VERBOSE = 1

%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab --output src/WebThumbnailer/autoload.php src
	# Build classloader for tests
	mkdir --parents vendor
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.test.php.tpl \
		tests

override_dh_auto_test:
	phpunit --no-coverage --include-path src --testsuite NoNetworkTests