From 5708c10f7c17a31251438ff0c8c7a2f1c38e57e5 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Fri, 11 May 2018 11:02:14 +0200 Subject: Remove development dependencies from archive Also fixes potentially updated packages where they shouldn't be. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 36dc06584..a30b04279 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ ifeq (, $(shell which composer 2> /dev/null)) curl -sS https://getcomposer.org/installer | php mv composer.phar $(build_tools_directory) endif - $(composer) update --prefer-dist + $(composer) install --prefer-dist --no-dev # Installs npm dependencies .PHONY: npm -- cgit v1.2.3 From 32ddcda4d394974b31ecc3e3b42fd9bfc90e21a6 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Sun, 13 May 2018 21:08:18 +0200 Subject: Do a full composer install on tests --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a30b04279..e9e966cf6 100644 --- a/Makefile +++ b/Makefile @@ -172,6 +172,7 @@ endif # from the internet .PHONY: test test: + $(composer) install --prefer-dist cd js && $(npm) run test ./vendor/phpunit/phpunit/phpunit -c phpunit.xml --coverage-clover build/php-unit.clover # \Test\TestCase is only allowed to access the db if TRAVIS environment variable is set -- cgit v1.2.3 From ff6af971a711251cdc46c542ee65a0e6bbbb1131 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Sun, 13 May 2018 22:23:46 +0200 Subject: Update composer for tests --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e9e966cf6..9dfd90ade 100644 --- a/Makefile +++ b/Makefile @@ -172,7 +172,7 @@ endif # from the internet .PHONY: test test: - $(composer) install --prefer-dist + $(composer) update --prefer-dist cd js && $(npm) run test ./vendor/phpunit/phpunit/phpunit -c phpunit.xml --coverage-clover build/php-unit.clover # \Test\TestCase is only allowed to access the db if TRAVIS environment variable is set -- cgit v1.2.3