File: rules

package info (click to toggle)
matomo-component-cache 2.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 396 kB
  • sloc: php: 1,433; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 390 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#export DH_VERBOSE = 1

%:
	dh $@

override_dh_auto_build:
	phpabtpl \
	        --basedir . \
	        composer.json \
	        > debian/autoload.php.tpl

	phpab --basedir src \
	        --output src/autoload.php \
	        --template debian/autoload.php.tpl src/

override_dh_auto_test:
	phpunit tests/ --no-coverage --do-not-cache-result --bootstrap ./src/autoload.php