File: rules

package info (click to toggle)
phpunit-object-enumerator 3.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 132 kB
  • sloc: php: 161; xml: 38; makefile: 20
file content (24 lines) | stat: -rwxr-xr-x 458 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab \
		--template debian/autoload.php.in \
		--output src/autoload.php \
		src
	mkdir --parents vendor
	phpab \
		--template debian/autoload.php.test.in \
		--output vendor/autoload.php \
		tests/_fixture/

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	phpunit
else
	@echo "** tests disabled"
endif

get-orig-source:
	uscan --force --verbose --rename