aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorXaver Maierhofer <xaver.maierhofer@xwissen.info>2019-05-13 21:25:21 +0200
committerzeripath <art27@cantab.net>2019-05-13 20:25:21 +0100
commit06ae9a3a963cff8d296ca5806df611d1091847df (patch)
tree01671d44470e4ede1444ef908e0a6be599781562 /Makefile
parent5df5bfbd134b4348c333cf81b5bd9ff16ec667e0 (diff)
downloadgitea-06ae9a3a963cff8d296ca5806df611d1091847df.tar.gz
gitea-06ae9a3a963cff8d296ca5806df611d1091847df.zip
Use single line per selector & don't strip license comments (#6919)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index de625ce243..424ea9dedb 100644
--- a/Makefile
+++ b/Makefile
@@ -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