File: rules

package info (click to toggle)
phpunit-object-enumerator 3.0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 144 kB
  • sloc: php: 161; xml: 38; makefile: 19
file content (22 lines) | stat: -rwxr-xr-x 473 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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 SebastianBergmann
	ln -s ../src SebastianBergmann/ObjectEnumerator
	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