File: rules

package info (click to toggle)
php-league-flysystem 3.29.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,316 kB
  • sloc: php: 14,623; makefile: 48; sh: 31
file content (52 lines) | stat: -rwxr-xr-x 1,491 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/make -f

%:
	dh $@ -Xcomposer.json -X.gitattributes -X.github -X.gitignore -XLICENSE -XREADME.md -XTest.php

override_dh_auto_build:
	phpabtpl composer.json > debian/autoload.php.tpl
	phpab \
		--output src/autoload.php \
		--template debian/autoload.php.tpl \
		--exclude *Test.php \
		--blacklist *\adaptertestutilities\* \
		--blacklist *\asyncawss3\* \
		--blacklist *\awss3v3\* \
		--blacklist *\azureblobstorage\* \
		--blacklist *\ftp\* \
		--blacklist *\googlecloudstorage\* \
		--blacklist *\gridfs\* \
		--blacklist *\inmemory\* \
		--blacklist *\pathprefixing\* \
		--blacklist *\phpseclibv2\* \
		--blacklist *\phpseclibv3\* \
		--blacklist *\readonly\* \
		--blacklist *\webdav\* \
		--blacklist *\ziparchive\* \
		src

override_dh_auto_test:
	mkdir -p vendor
	phpabtpl \
		--require-file ../src/autoload.php \
		--require guzzlehttp/psr7 \
		> debian/autoload.php.test.tpl
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.php.test.tpl \
		--whitelist *\adaptertestutilities\* \
		--blacklist *\asyncawss3\* \
		--blacklist *\awss3v3\* \
		--blacklist *\azureblobstorage\* \
		--blacklist *\ftp\* \
		--blacklist *\googlecloudstorage\* \
		--blacklist *\gridfs\* \
		--whitelist *\inmemory\* \
		--blacklist *\pathprefixing\* \
		--blacklist *\phpseclibv2\* \
		--blacklist *\phpseclibv3\* \
		--blacklist *\readonly\* \
		--blacklist *\webdav\* \
		--blacklist *\ziparchive\* \
		src
	phpunit src/*Test.php src/Local/*Test.php src/U*/*Test.php