Debian Codegraph @

Makefile

raw
1 .PHONY: setup test
2
3 setup:
4 mkdir -p _libraries &&\
5 git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-library.git _libraries/ipl &&\
6 git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git _libraries/vendor &&\
7 git clone --depth 1 https://github.com/Icinga/icingaweb2.git _icingaweb2 &&\
8 git clone --depth 1 https://github.com/Icinga/icingadb-web.git _icingaweb2/modules/icingadb
9 ln -s `pwd` _icingaweb2/modules/toplevelview
10 test:
11 ICINGAWEB_LIBDIR=_libraries phpunit
12 lint:
13 phplint application/ library/
14 phpcs:
15 phpcs application/ library/