aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-10 09:15:53 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-10 09:15:53 +0200
commit84e3c36e02e4ffb4611f6e1eca37c97a0ffb4660 (patch)
tree1abeab686810336db899dda9b221795085b65dd9 /Makefile
parentedc8bc0b2f23bf27ac33b9de079644cc9076579a (diff)
downloadwallabag-84e3c36e02e4ffb4611f6e1eca37c97a0ffb4660.tar.gz
wallabag-84e3c36e02e4ffb4611f6e1eca37c97a0ffb4660.tar.zst
wallabag-84e3c36e02e4ffb4611f6e1eca37c97a0ffb4660.zip
Added documentation about testsuite
Fix #2415
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2a749718..e99367f6 100755
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
1TMP_FOLDER=/tmp 1TMP_FOLDER=/tmp
2RELEASE_FOLDER=wllbg-release 2RELEASE_FOLDER=wllbg-release
3 3
4ENV=prod 4ifndef ENV
5 ENV=prod
6endif
5 7
6help: ## Display this help menu 8help: ## Display this help menu
7 @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' 9 @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@@ -15,14 +17,14 @@ install: ## Install wallabag with the latest version
15update: ## Update the wallabag installation to the latest version 17update: ## Update the wallabag installation to the latest version
16 @sh scripts/update.sh $(ENV) 18 @sh scripts/update.sh $(ENV)
17 19
18run: ## Run the wallabag server 20run: ## Run the wallabag built-in server
19 php bin/console server:run --env=$(ENV) 21 @php bin/console server:run --env=$(ENV)
20 22
21build: ## Run grunt 23build: ## Run grunt
22 @grunt 24 @grunt
23 25
24test: ## Launch wallabag testsuite 26test: ## Launch wallabag testsuite
25 @ant prepare && phpunit -v 27 @ant prepare && vendor/phpunit/phpunit/phpunit -v
26 28
27release: ## Create a package. Need a VERSION parameter (eg: `make release VERSION=master`). 29release: ## Create a package. Need a VERSION parameter (eg: `make release VERSION=master`).
28ifndef VERSION 30ifndef VERSION