diff options
author | Xaver Maierhofer <xaver.maierhofer@xwissen.info> | 2019-05-13 21:25:21 +0200 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-05-13 20:25:21 +0100 |
commit | 06ae9a3a963cff8d296ca5806df611d1091847df (patch) | |
tree | 01671d44470e4ede1444ef908e0a6be599781562 /Makefile | |
parent | 5df5bfbd134b4348c333cf81b5bd9ff16ec667e0 (diff) | |
download | gitea-06ae9a3a963cff8d296ca5806df611d1091847df.tar.gz gitea-06ae9a3a963cff8d296ca5806df611d1091847df.zip |
Use single line per selector & don't strip license comments (#6919)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -388,8 +388,8 @@ generate-stylesheets: exit 1; \ fi; $(eval BROWSERS := "> 1%, last 2 firefox versions, last 2 safari versions, ie 11") - npx lessc --clean-css public/less/index.less public/css/index.css - $(foreach file, $(filter-out public/less/themes/_base.less, $(wildcard public/less/themes/*)),npx lessc --clean-css public/less/themes/$(notdir $(file)) > public/css/theme-$(notdir $(call strip-suffix,$(file))).css;) + npx lessc --clean-css="--s0 -b" public/less/index.less public/css/index.css + $(foreach file, $(filter-out public/less/themes/_base.less, $(wildcard public/less/themes/*)),npx lessc --clean-css="--s0 -b" public/less/themes/$(notdir $(file)) > public/css/theme-$(notdir $(call strip-suffix,$(file))).css;) $(foreach file, $(wildcard public/css/*),npx postcss --use autoprefixer --autoprefixer.browsers $(BROWSERS) -o $(file) $(file);) .PHONY: swagger-ui |