File: rules

package info (click to toggle)
php-doctrine-cache 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 328 kB
  • sloc: php: 1,447; xml: 93; makefile: 23
file content (28 lines) | stat: -rwxr-xr-x 699 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
24
25
26
27
28
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab --output	lib/Doctrine/Common/Cache/autoload.php \
			lib/Doctrine/Common/Cache
	mkdir --parents vendor debian/tmp
	phpabtpl \
		--require doctrine/cache \
		--require psr/cache \
		--require cache/integration-tests \
		--require symfony/cache \
		> debian/autoload.tests.php.tpl
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.tests.php.tpl \
		tests

override_dh_auto_clean:

override_dh_auto_test:
	memcached -d -u memcache
	redis-server --daemonize yes
	phpunit --include-path lib --bootstrap vendor/autoload.php

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream/changelog