Browse Source

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

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

+ 3
- 3
Makefile 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/*); \

public/less/_admin.less → web_src/less/_admin.less View File


public/less/_base.less → web_src/less/_base.less View File


public/less/_dashboard.less → web_src/less/_dashboard.less View File


public/less/_editor.less → web_src/less/_editor.less View File


public/less/_emojify.less → web_src/less/_emojify.less View File


public/less/_explore.less → web_src/less/_explore.less View File


public/less/_form.less → web_src/less/_form.less View File


public/less/_home.less → web_src/less/_home.less View File


public/less/_install.less → web_src/less/_install.less View File


public/less/_markdown.less → web_src/less/_markdown.less View File


public/less/_organization.less → web_src/less/_organization.less View File


public/less/_repository.less → web_src/less/_repository.less View File


public/less/_review.less → web_src/less/_review.less View File


public/less/_tribute.less → web_src/less/_tribute.less View File


public/less/_user.less → web_src/less/_user.less View File


public/less/index.less → web_src/less/index.less View File


public/less/themes/_base.less → web_src/less/themes/_base.less View File


public/less/themes/arc-green.less → web_src/less/themes/arc-green.less View File


Loading…
Cancel
Save