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

tokarchuk/v1.17
Lunny Xiao 5 years ago committed by Antoine GIRARD
parent a0d4014517
commit e4e6d48e30
  1. 6
      Makefile
  2. 0
      web_src/less/_admin.less
  3. 0
      web_src/less/_base.less
  4. 0
      web_src/less/_dashboard.less
  5. 0
      web_src/less/_editor.less
  6. 0
      web_src/less/_emojify.less
  7. 0
      web_src/less/_explore.less
  8. 0
      web_src/less/_form.less
  9. 0
      web_src/less/_home.less
  10. 0
      web_src/less/_install.less
  11. 0
      web_src/less/_markdown.less
  12. 0
      web_src/less/_organization.less
  13. 0
      web_src/less/_repository.less
  14. 0
      web_src/less/_review.less
  15. 0
      web_src/less/_tribute.less
  16. 0
      web_src/less/_user.less
  17. 0
      web_src/less/index.less
  18. 0
      web_src/less/themes/_base.less
  19. 0
      web_src/less/themes/arc-green.less

@ -438,9 +438,9 @@ js: npm
.PHONY: css .PHONY: css
css: npm css: npm
npx stylelint public/less npx stylelint web_src/less
npx lessc --clean-css="--s0 -b" public/less/index.less public/css/index.css npx lessc --clean-css="--s0 -b" web_src/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, $(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/* npx postcss --use autoprefixer --no-map --replace public/css/*
@diff=$$(git diff public/css/*); \ @diff=$$(git diff public/css/*); \

Loading…
Cancel
Save