File: rules

package info (click to toggle)
php-fig-log-test 1.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 196 kB
  • sloc: php: 429; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 332 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# export DH_VERBOSE = 1

%:
	dh $@

override_dh_auto_build:
	phpabtpl composer.json > $(CURDIR)/debian/autoload.php.tpl
	phpab \
		--output $(CURDIR)/src/Test/autoload.php \
		--template $(CURDIR)/debian/autoload.php.tpl \
		$(CURDIR)/src

override_dh_auto_test:
	phpunit --bootstrap=src/Test/autoload.php tests