X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Makefile;h=d69fac46b2a6fccd1a85c3b4d55e1f45c9ff88a6;hb=96db105e4c0833324f7168edb5673278de8ccd54;hp=80efcfaafd0e2973c4ea73aaf0c33e3ff77a0ca0;hpb=4a5827ff5adadcd8c1ef9231e485f77c0c376c03;p=github%2Fshaarli%2FShaarli.git diff --git a/Makefile b/Makefile index 80efcfaa..d69fac46 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,10 @@ static_analysis_summary: code_sniffer_source copy_paste mess_detector_summary code_sniffer: code_sniffer_full +### - errors filtered by coding standard: PEAR, PSR1, PSR2, Zend... +PHPCS_%: + @$(BIN)/phpcs $(PHP_SOURCE) --report-full --report-width=200 --standard=$* + ### - errors by Git author code_sniffer_blame: @$(BIN)/phpcs $(PHP_SOURCE) --report-gitblame @@ -102,7 +106,7 @@ mess_detector_summary: mess_title # See phpunit.xml for configuration # https://phpunit.de/manual/current/en/appendixes.configuration.html ## -test: clean +test: @echo "-------" @echo "PHPUNIT" @echo "-------" @@ -114,13 +118,13 @@ test: clean ### remove all unversioned files clean: - @git clean -df + @git clean -df ### update the local copy of the documentation doc: clean - @rm -rf doc - @git clone https://github.com/shaarli/Shaarli.wiki.git doc - @rm -rf doc/.git + @rm -rf doc + @git clone https://github.com/shaarli/Shaarli.wiki.git doc + @rm -rf doc/.git ### Convert local markdown documentation to HTML htmldoc: