X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Makefile;h=770dcd5368a1d8196d98c2e87d5ad08a325b856c;hb=a00ea49c69ae3144cc6e6761a2e73630f904401b;hp=28353587c238dfdd91809d00d7debc751c2178e7;hpb=f22a494a1e222ff846a813d9046908c2e2c86a67;p=github%2Fshaarli%2FShaarli.git diff --git a/Makefile b/Makefile index 28353587..770dcd53 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,8 @@ # - enable in php.ini BIN = vendor/bin -PHP_SOURCE = index.php application tests -PHP_COMMA_SOURCE = index.php,application,tests +PHP_SOURCE = index.php application tests plugins +PHP_COMMA_SOURCE = index.php,application,tests,plugins all: static_analysis_summary test @@ -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 @@ -122,8 +126,38 @@ doc: clean @git clone https://github.com/shaarli/Shaarli.wiki.git doc @rm -rf doc/.git +### Generate a custom sidebar +# +# Sidebar content: +# - convert GitHub-flavoured relative links to standard Markdown +# - trim HTML, only keep the list (