File: rules

package info (click to toggle)
matomo-device-detector 6.3.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 17,620 kB
  • sloc: php: 6,980; xml: 79; makefile: 15; sh: 3
file content (22 lines) | stat: -rwxr-xr-x 728 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
#!/usr/bin/make -f
#export DH_VERBOSE = 1

%:
	dh $@

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

	phpab --output autoload.php \
	        --template debian/autoload.php.tpl Cache/ Parser/ Yaml/ regexes/ DeviceDetector.php ClientHints.php

execute_before_dh_auto_test:
	phpabtpl --require Symfony/Component/Yaml --require-file ../autoload.php > debian/autoload-tests.php.tpl
	phpab --output Tests/autoload.php --template debian/autoload-tests.php.tpl Tests/

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