File: rules

package info (click to toggle)
php-token-stream 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 284 kB
  • sloc: php: 1,951; xml: 34; makefile: 11
file content (14 lines) | stat: -rwxr-xr-x 275 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 -o src/Token/Stream/Autoload.php -b src/Token/Stream src

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	ln -s src PHP
	phpunit
else
	@echo "** tests disabled"
endif