File: rules

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

%:
	dh $@

override_dh_auto_build:
	# generate static autoloader
	phpab \
		--output src/ReCaptcha/autoload.php \
		src/ReCaptcha

override_dh_auto_test:
	# keep in sync with debian/tests
	phpunit --no-coverage --do-not-cache-result --fail-on-empty-test-suite --bootstrap src/ReCaptcha/autoload.php
	phpunit --no-coverage --do-not-cache-result --fail-on-empty-test-suite --display-deprecations --fail-on-deprecation --bootstrap src/ReCaptcha/autoload.php debian/tests/SimpleTest.php