From 23ce23e76d12ad30b4bc5a8ddda9d3d67b2be4cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Tue, 20 Nov 2018 19:06:43 +0100 Subject: [PATCH] No need for dependent containers in assets tasks --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 43f4da9..34345a1 100644 --- a/Makefile +++ b/Makefile @@ -108,24 +108,24 @@ assets: assets-lms assets-cms ## Generate production-ready static assets assets-development: assets-development-lms assets-development-cms ## Generate static assets for local development assets-lms: - $(DOCKER_COMPOSE_RUN_OPENEDX) lms bash -c \ + $(DOCKER_COMPOSE_RUN_OPENEDX) --no-deps lms bash -c \ "NODE_ENV=production ./node_modules/.bin/webpack --config=webpack.prod.config.js \ && ./manage.py lms --settings=$(EDX_PLATFORM_SETTINGS) compile_sass lms \ && python -c \"import pavelib.assets; pavelib.assets.collect_assets(['lms'], '$(EDX_PLATFORM_SETTINGS)')\"" assets-cms: - $(DOCKER_COMPOSE_RUN_OPENEDX) cms bash -c \ + $(DOCKER_COMPOSE_RUN_OPENEDX) --no-deps cms bash -c \ "NODE_ENV=production ./node_modules/.bin/webpack --config=webpack.prod.config.js \ && ./manage.py cms --settings=$(EDX_PLATFORM_SETTINGS) compile_sass studio \ && python -c \"import pavelib.assets; pavelib.assets.collect_assets(['studio'], '$(EDX_PLATFORM_SETTINGS)')\"" assets-development-lms: - $(DOCKER_COMPOSE_RUN_OPENEDX) lms bash -c \ + $(DOCKER_COMPOSE_RUN_OPENEDX) --no-deps lms bash -c \ "xmodule_assets common/static/xmodule \ && python -c \"import pavelib.assets; pavelib.assets.process_npm_assets()\" && NODE_ENV=development ./node_modules/.bin/webpack --config=webpack.dev.config.js \ && ./manage.py lms --settings=$(EDX_PLATFORM_SETTINGS) compile_sass lms \ && python -c \"import pavelib.assets; pavelib.assets.collect_assets(['lms'], '$(EDX_PLATFORM_SETTINGS)')\"" assets-development-cms: - $(DOCKER_COMPOSE_RUN_OPENEDX) cms bash -c \ + $(DOCKER_COMPOSE_RUN_OPENEDX) --no-deps cms bash -c \ "xmodule_assets common/static/xmodule \ && python -c \"import pavelib.assets; pavelib.assets.process_npm_assets()\" && NODE_ENV=development ./node_modules/.bin/webpack --config=webpack.dev.config.js \