File: rules

package info (click to toggle)
php-doctrine-cache 1.10.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 556 kB
  • sloc: php: 3,576; xml: 97; makefile: 17
file content (22 lines) | stat: -rwxr-xr-x 534 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
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab --output	lib/Doctrine/Common/Cache/autoload.php \
			lib/Doctrine/Common/Cache
	mkdir --parents vendor debian/tmp
	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