]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Makefile: do not call `clean` before `test` 289/head
authorVirtualTam <virtualtam@flibidi.net>
Sat, 18 Jul 2015 09:56:41 +0000 (11:56 +0200)
committerVirtualTam <virtualtam@flibidi.net>
Sat, 18 Jul 2015 11:43:19 +0000 (13:43 +0200)
Fixes #288

Modifications:
 - call `make clean` explicitely to clean the workspace
 - add `make clean` to Travis instructions

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
.travis.yml
Makefile

index d10311c9f0761edf35a87ab074119538726935a8..80db65060510272f9c51e83c64773b20538a6842 100644 (file)
@@ -9,4 +9,5 @@ install:
   - composer self-update
   - composer install
 script:
+  - make clean
   - make test
index 80efcfaafd0e2973c4ea73aaf0c33e3ff77a0ca0..28353587c238dfdd91809d00d7debc751c2178e7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,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 +114,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: