File: rules

package info (click to toggle)
php-phpspec-prophecy-phpunit 2.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 136 kB
  • sloc: php: 173; makefile: 13
file content (16 lines) | stat: -rwxr-xr-x 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

execute_after_dh_auto_build:
	phpab	--output src/autoload.php \
		--template debian/autoload.php.tpl \
		src
	mkdir --parents vendor Prophecy
	ln -s ../src Prophecy/PhpUnit
	phpab	--output vendor/autoload.php \
		--template debian/autoload.php.tests.tpl \
		fixtures

override_dh_auto_test:
	phpunit