Files
faveo/vendor/phpspec/phpspec/Makefile
2016-11-03 05:44:29 +05:30

14 lines
415 B
Makefile

all:
@echo "Only build-phar target is currently supported."
build-phar:
@echo "--> Checking for composer command line tool"
command -v composer >/dev/null && continue || { echo "composer command not found."; exit 1; }
@echo "--> Cleaning vendor directory"
rm -Rfv vendor
@echo "--> Installing dependencies without dev"
composer install --no-dev -o
@echo "--> Building Phar"
box build
@echo "--> Success"