Merge pull request #289 from virtualtam/make-clean

Makefile: do not call `clean` before `test`
This commit is contained in:
VirtualTam 2015-07-23 00:34:52 +02:00
commit caaae9b32b
2 changed files with 6 additions and 5 deletions

View file

@ -9,4 +9,5 @@ install:
- composer self-update - composer self-update
- composer install - composer install
script: script:
- make clean
- make test - make test

View file

@ -102,7 +102,7 @@ mess_detector_summary: mess_title
# See phpunit.xml for configuration # See phpunit.xml for configuration
# https://phpunit.de/manual/current/en/appendixes.configuration.html # https://phpunit.de/manual/current/en/appendixes.configuration.html
## ##
test: clean test:
@echo "-------" @echo "-------"
@echo "PHPUNIT" @echo "PHPUNIT"
@echo "-------" @echo "-------"
@ -114,13 +114,13 @@ test: clean
### remove all unversioned files ### remove all unversioned files
clean: clean:
@git clean -df @git clean -df
### update the local copy of the documentation ### update the local copy of the documentation
doc: clean doc: clean
@rm -rf doc @rm -rf doc
@git clone https://github.com/shaarli/Shaarli.wiki.git doc @git clone https://github.com/shaarli/Shaarli.wiki.git doc
@rm -rf doc/.git @rm -rf doc/.git
### Convert local markdown documentation to HTML ### Convert local markdown documentation to HTML
htmldoc: htmldoc: