Skip to content
Permalink
Browse files

CMA CSS: Configs to generate a facelift css file for the virtual appl…

…iance

Change-Id: I49f35619395950034b5f3bbc4462f6c4c718fd81
  • Loading branch information
oKenneth committed Nov 7, 2019
1 parent 323f40a commit cc52984d34c46fb10385c4a60dd2fa014490d7b8
Showing with 9 additions and 0 deletions.
  1. +6 −0 Makefile
  2. +2 −0 web/htdocs/themes/facelift/.gitignore
  3. +1 −0 webpack.config.js
@@ -344,6 +344,12 @@ web/htdocs/js/%_min.js: node_modules webpack.config.js $(JAVASCRIPT_SOURCES)
web/htdocs/themes/%/theme.css: node_modules webpack.config.js postcss.config.js web/htdocs/themes/%/theme.scss web/htdocs/themes/%/scss/*.scss
WEBPACK_MODE=$(WEBPACK_MODE) ENTERPRISE=$(ENTERPRISE) MANAGED=$(MANAGED) node_modules/.bin/webpack --mode=$(WEBPACK_MODE:quick=development)

# This target is used to generate a css file for the virtual appliance. It is
# called from the cma git's Makefile and the respective scss and css files are
# kept under ~/git/cma/skel/usr/share/cma/webconf/htdocs/
web/htdocs/themes/facelift/cma_facelift.css: node_modules webpack.config.js postcss.config.js web/htdocs/themes/facelift/cma_facelift.scss web/htdocs/themes/facelift/scss/*.scss
WEBPACK_MODE=$(WEBPACK_MODE) ENTERPRISE=$(ENTERPRISE) MANAGED=$(MANAGED) node_modules/.bin/webpack --mode=$(WEBPACK_MODE:quick=development)

# TODO(sp) The target below is not correct, we should not e.g. remove any stuff
# which is needed to run configure, this should live in a separate target. In
# fact, we should really clean up all this cleaning-chaos and finally follow the
@@ -1 +1,3 @@
theme.css
cma_facelift.css
cma_facelift.scss
@@ -11,6 +11,7 @@ module.exports = {
side: "./web/htdocs/js/side_index.js",
themes: [
"./web/htdocs/themes/facelift/theme.scss",
"./web/htdocs/themes/facelift/cma_facelift.scss",
"./web/htdocs/themes/classic/theme.scss",
"./web/htdocs/themes/modern-dark/theme.scss",
],

0 comments on commit cc52984

Please sign in to comment.
You can’t perform that action at this time.