File: rules

package info (click to toggle)
php-laravel-lumen-framework 10.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 548 kB
  • sloc: php: 4,338; sh: 11; makefile: 11
file content (15 lines) | stat: -rwxr-xr-x 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	phpabtpl --basedir src composer.json > debian/autoload.php.tpl
	phpab -t debian/autoload.php.tpl -o src/autoload.php src

override_dh_auto_test:
	mkdir -p vendor
	phpabtpl --require-file ../src/autoload.php --require mockery/mockery \
		> debian/autoload.php.test.tpl
	phpab -t debian/autoload.php.test.tpl -o vendor/autoload.php tests
	phpunit