File: rules

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

override_dh_auto_build:
	phpab \
		--output $(CURDIR)/src/autoload.php \
		--template $(CURDIR)/debian/autoload.php.in \
		$(CURDIR)/src
	mkdir --parents PharIo
	ln -s ../src PharIo/Manifest

override_dh_auto_test:
	phpunit --bootstrap src/autoload.php