|
|
@ -361,8 +361,10 @@ stylesheets-check: generate-stylesheets |
|
|
|
|
|
|
|
.PHONY: generate-stylesheets |
|
|
|
generate-stylesheets: |
|
|
|
$(eval BROWSERS := "> 2%, last 2 firefox versions, last 2 safari versions") |
|
|
|
node_modules/.bin/lessc --clean-css public/less/index.less public/css/index.css |
|
|
|
$(foreach file, $(filter-out public/less/themes/_base.less, $(wildcard public/less/themes/*)),node_modules/.bin/lessc --clean-css public/less/themes/$(notdir $(file)) > public/css/theme-$(notdir $(call strip-suffix,$(file))).css;) |
|
|
|
$(foreach file, $(wildcard public/css/*),node_modules/.bin/postcss --use autoprefixer --autoprefixer.browsers $(BROWSERS) -o $(file) $(file);) |
|
|
|
|
|
|
|
.PHONY: swagger-ui |
|
|
|
swagger-ui: |
|
|
|