0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 09:24:20 +01:00

Move less from public/ to web_src/ so that it will not be packe… (#8908)

This commit is contained in:
Lunny Xiao 2019-11-12 17:22:16 +08:00 committed by Antoine GIRARD
parent a0d4014517
commit e4e6d48e30
19 changed files with 3 additions and 3 deletions

View file

@ -438,9 +438,9 @@ js: npm
.PHONY: css
css: npm
npx stylelint public/less
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;)
npx stylelint web_src/less
npx lessc --clean-css="--s0 -b" web_src/less/index.less public/css/index.css
$(foreach file, $(filter-out web_src/less/themes/_base.less, $(wildcard web_src/less/themes/*)),npx lessc --clean-css="--s0 -b" web_src/less/themes/$(notdir $(file)) > public/css/theme-$(notdir $(call strip-suffix,$(file))).css;)
npx postcss --use autoprefixer --no-map --replace public/css/*
@diff=$$(git diff public/css/*); \