File: rules

package info (click to toggle)
php-phar-io-manifest 2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 588 kB
  • sloc: php: 2,036; xml: 233; makefile: 12
file content (15 lines) | stat: -rwxr-xr-x 334 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 composer.json > debian/autoload.php.tpl
	phpab \
		--output $(CURDIR)/src/autoload.php \
		--template $(CURDIR)/debian/autoload.php.tpl \
		$(CURDIR)/src
	mkdir --parents PharIo
	ln -s ../src PharIo/Manifest

override_dh_auto_test:
	phpunit --bootstrap src/autoload.php