mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-24 00:20:28 +00:00
Merge pull request #2500 from wallabag/add-check-composer
Added a check in Makefile to see if composer is installed
This commit is contained in:
commit
f3b637fbfe
2 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -41,6 +41,6 @@ travis: ## Make some stuff for Travis-CI
|
|||
deploy: ## Deploy wallabag
|
||||
@bundle exec cap staging deploy
|
||||
|
||||
.PHONY: help clean install update build test release travis deploy
|
||||
.PHONY: help clean install update build test release travis deploy run dev
|
||||
|
||||
.DEFAULT_GOAL := install
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
# You can execute this file to install wallabag
|
||||
# eg: `sh install.sh prod`
|
||||
|
||||
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; }
|
||||
|
||||
ENV=$1
|
||||
TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
|
||||
|
||||
|
|
Loading…
Reference in a new issue