diff options
-rwxr-xr-x | Makefile | 2 | ||||
-rw-r--r-- | scripts/install.sh | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -41,6 +41,6 @@ travis: ## Make some stuff for Travis-CI | |||
41 | deploy: ## Deploy wallabag | 41 | deploy: ## Deploy wallabag |
42 | @bundle exec cap staging deploy | 42 | @bundle exec cap staging deploy |
43 | 43 | ||
44 | .PHONY: help clean install update build test release travis deploy | 44 | .PHONY: help clean install update build test release travis deploy run dev |
45 | 45 | ||
46 | .DEFAULT_GOAL := install | 46 | .DEFAULT_GOAL := install |
diff --git a/scripts/install.sh b/scripts/install.sh index 54d0bb78..d7b05a1e 100644 --- a/scripts/install.sh +++ b/scripts/install.sh | |||
@@ -2,6 +2,8 @@ | |||
2 | # You can execute this file to install wallabag | 2 | # You can execute this file to install wallabag |
3 | # eg: `sh install.sh prod` | 3 | # eg: `sh install.sh prod` |
4 | 4 | ||
5 | command -v composer >/dev/null 2>&1 || { echo >&2 "wallabag requires composer but it's not installed (see http://doc.wallabag.org/en/master/user/installation.html). Aborting."; exit 1; } | ||
6 | |||
5 | ENV=$1 | 7 | ENV=$1 |
6 | TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) | 8 | TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) |
7 | 9 | ||