X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Makefile;h=a86f9aa8bbe8bdb0b160db7cea331ba605a3eeb0;hb=122d90ef8d83c6702a8b47f81c32fa3ba7a53c31;hp=5104e302c19e0cec0eeebf2b9b145d6b850ccc65;hpb=3e25f245f95bdaeb9db2e6e0540189d5378ad05d;p=github%2Fshaarli%2FShaarli.git diff --git a/Makefile b/Makefile index 5104e302..a86f9aa8 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 @@ -106,10 +106,11 @@ 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 "-------" + @mkdir -p sandbox @$(BIN)/phpunit tests ## @@ -118,16 +119,52 @@ test: clean ### remove all unversioned files clean: - @git clean -df + @git clean -df + @rm -rf sandbox + +### generate Doxygen documentation +doxygen: clean + @rm -rf doxygen + @( cat Doxyfile ; echo "PROJECT_NUMBER=`git describe`" ) | doxygen - ### 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 + +### Generate a custom sidebar +# +# Sidebar content: +# - convert GitHub-flavoured relative links to standard Markdown +# - trim HTML, only keep the list (