File: rules

package info (click to toggle)
matthiasmullie-minify 1.3.73-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,140 kB
  • sloc: php: 3,198; javascript: 2,083; makefile: 38; xml: 27; sh: 6
file content (23 lines) | stat: -rwxr-xr-x 492 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
#!/usr/bin/make -f
export DH_VERBOSE = 1

%:
	dh $@

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

override_dh_auto_test:
	mkdir --parents vendor MatthiasMullie
	ln -s ../src MatthiasMullie/Minify
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.tests.php.tpl \
		--tolerant \
		tests
	ln -s ../data MatthiasMullie/Minify/data
	phpunit --no-coverage  --do-not-cache-result
	rm -f MatthiasMullie/Minify/data