File: rules

package info (click to toggle)
php-composer-spdx-licenses 1.5.8-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: php: 505; makefile: 9; sh: 5
file content (12 lines) | stat: -rwxr-xr-x 404 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
%:
	dh $@ -X SpdxLicensesUpdater.php

override_dh_auto_build:
	phpab --output src/autoload.php --exclude src/SpdxLicensesUpdater.php src
	mkdir --parents debian/tmp/fake debian/tmp/data/Composer
	cp -a src tests debian/tmp/fake
	cp -a res debian/tmp/data/Composer

override_dh_auto_test:
	phpunit --bootstrap debian/tmp/fake/src/autoload.php debian/tmp/fake/tests/SpdxLicensesTest.php