Skip to content

Commit

Permalink
Composer vars added.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFox committed Jul 3, 2015
1 parent 3ff92a8 commit abef44c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Expand Up @@ -10,6 +10,8 @@ PHPCS_SOURCE = src tests
PHPUNIT = vendor/bin/phpunit
COMPOSER = ./composer.phar
COMPOSER_DEV ?=
COMPOSER_INTERACTION ?= --no-interaction
COMPOSER_PREFER_SOURCE ?=


.PHONY: all install update test test_phpcs test_phpunit test_phpunit_cc phpcbf_run clean clean_all
Expand Down Expand Up @@ -44,7 +46,7 @@ clean:
clean_all: clean

$(VENDOR): $(COMPOSER)
$(COMPOSER) install $(COMPOSER_PREFER_SOURCE) --no-interaction $(COMPOSER_DEV)
$(COMPOSER) install $(COMPOSER_PREFER_SOURCE) $(COMPOSER_INTERACTION) $(COMPOSER_DEV)

$(COMPOSER):
curl -sS https://getcomposer.org/installer | php
Expand Down

0 comments on commit abef44c

Please sign in to comment.