diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-10 09:15:53 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-10 09:15:53 +0200 |
commit | 84e3c36e02e4ffb4611f6e1eca37c97a0ffb4660 (patch) | |
tree | 1abeab686810336db899dda9b221795085b65dd9 /Makefile | |
parent | edc8bc0b2f23bf27ac33b9de079644cc9076579a (diff) | |
download | wallabag-84e3c36e02e4ffb4611f6e1eca37c97a0ffb4660.tar.gz wallabag-84e3c36e02e4ffb4611f6e1eca37c97a0ffb4660.tar.zst wallabag-84e3c36e02e4ffb4611f6e1eca37c97a0ffb4660.zip |
Added documentation about testsuite
Fix #2415
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,7 +1,9 @@ | |||
1 | TMP_FOLDER=/tmp | 1 | TMP_FOLDER=/tmp |
2 | RELEASE_FOLDER=wllbg-release | 2 | RELEASE_FOLDER=wllbg-release |
3 | 3 | ||
4 | ENV=prod | 4 | ifndef ENV |
5 | ENV=prod | ||
6 | endif | ||
5 | 7 | ||
6 | help: ## Display this help menu | 8 | help: ## 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 | |||
15 | update: ## Update the wallabag installation to the latest version | 17 | update: ## Update the wallabag installation to the latest version |
16 | @sh scripts/update.sh $(ENV) | 18 | @sh scripts/update.sh $(ENV) |
17 | 19 | ||
18 | run: ## Run the wallabag server | 20 | run: ## Run the wallabag built-in server |
19 | php bin/console server:run --env=$(ENV) | 21 | @php bin/console server:run --env=$(ENV) |
20 | 22 | ||
21 | build: ## Run grunt | 23 | build: ## Run grunt |
22 | @grunt | 24 | @grunt |
23 | 25 | ||
24 | test: ## Launch wallabag testsuite | 26 | test: ## Launch wallabag testsuite |
25 | @ant prepare && phpunit -v | 27 | @ant prepare && vendor/phpunit/phpunit/phpunit -v |
26 | 28 | ||
27 | release: ## Create a package. Need a VERSION parameter (eg: `make release VERSION=master`). | 29 | release: ## Create a package. Need a VERSION parameter (eg: `make release VERSION=master`). |
28 | ifndef VERSION | 30 | ifndef VERSION |