From 2629ecb6cb0d88f64c8a654280b814af6c109d40 Mon Sep 17 00:00:00 2001 From: Tasos Katsoulas Date: Mon, 2 Dec 2019 16:34:21 +0200 Subject: [PATCH] Update makefile for frontend tooling. --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e1106cf0c..8481f15a8 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,8 @@ help: @echo "docs - generate Sphinx HTML documentation" @echo "build-ci - build docker images for use in our CI pipeline" @echo "test-ci - run tests against files in docker image built by CI" + @echo "frontend - build docker images for front-end dependencies and tooling" + @echo "styleguide - build the SUMO's styleguide" .env: @if [ ! -f .env ]; then \ @@ -132,16 +134,14 @@ test-js-ci: .docker-build-ci lint-ci: .docker-build-ci ${DC_CI} run test-image flake8 kitsune -.PHONY: default clean build build-full pull docs init lint run djshell dbshell runshell shell test test-image lint-image lint-l10n rebuild build-ci test-ci test-js-ci lint-ci - ##################### # For use in frontend ##################### -build-frontend: +frontend: npm run build:scss npm run build:postcss -build-docs: build-frontend +styleguide: frontend npm run build:docs:copystyles npm run build:docs:copyfonts npm run build:docs:copyjs @@ -150,3 +150,5 @@ build-docs: build-frontend npm run build:docs:copysumoimgs npm run build:docs:styles npm run build:docs:kss + +.PHONY: default clean build build-full pull docs init lint run djshell dbshell runshell shell test test-image lint-image lint-l10n rebuild build-ci test-ci test-js-ci lint-ci frontend styleguide