File: rules

package info (click to toggle)
phpmyadmin-sql-parser 5.10.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,244 kB
  • sloc: php: 52,958; makefile: 13; sh: 8
file content (21 lines) | stat: -rwxr-xr-x 559 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
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	# generate autoload-files. keep in sync with debian/tests/phpunit
	phpab --output src/autoload.php \
		--template debian/autoload.php.tpl \
		src

override_dh_auto_test:
	phpab --template debian/autoload-test.php.tpl \
		--output tests/autoload.php \
		tests

	# Symlink needed by CLITest::testStdinPipe
	mkdir -p vendor
	ln -s -f -r tests/autoload.php vendor/autoload.php

	# keep in sync with debian/tests/phpunit
	LC_ALL=C.UTF-8 phpunit --bootstrap tests/autoload.php --no-coverage