summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Molenaar <SMillerDev@users.noreply.github.com>2018-05-24 22:21:31 +0200
committerGitHub <noreply@github.com>2018-05-24 22:21:31 +0200
commite973772c99be98bd226bbd32902c79f12f3ca1c5 (patch)
tree0e0cb4418d0086cc68616a646c5702c1eea8e9f6
parentb068316b44a0e9324e0436e94c28382554561b79 (diff)
parentff6af971a711251cdc46c542ee65a0e6bbbb1131 (diff)
Merge pull request #288 from nextcloud/SMillerDev-patch-1
Remove development dependencies from archive
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 36dc06584..9dfd90ade 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
@@ -172,6 +172,7 @@ endif
# from the internet
.PHONY: test
test:
+ $(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