diff --git a/Makefile b/Makefile index 34685dea93c3..69eb088ba778 100644 --- a/Makefile +++ b/Makefile @@ -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/*); \ diff --git a/public/less/_admin.less b/web_src/less/_admin.less similarity index 100% rename from public/less/_admin.less rename to web_src/less/_admin.less diff --git a/public/less/_base.less b/web_src/less/_base.less similarity index 100% rename from public/less/_base.less rename to web_src/less/_base.less diff --git a/public/less/_dashboard.less b/web_src/less/_dashboard.less similarity index 100% rename from public/less/_dashboard.less rename to web_src/less/_dashboard.less diff --git a/public/less/_editor.less b/web_src/less/_editor.less similarity index 100% rename from public/less/_editor.less rename to web_src/less/_editor.less diff --git a/public/less/_emojify.less b/web_src/less/_emojify.less similarity index 100% rename from public/less/_emojify.less rename to web_src/less/_emojify.less diff --git a/public/less/_explore.less b/web_src/less/_explore.less similarity index 100% rename from public/less/_explore.less rename to web_src/less/_explore.less diff --git a/public/less/_form.less b/web_src/less/_form.less similarity index 100% rename from public/less/_form.less rename to web_src/less/_form.less diff --git a/public/less/_home.less b/web_src/less/_home.less similarity index 100% rename from public/less/_home.less rename to web_src/less/_home.less diff --git a/public/less/_install.less b/web_src/less/_install.less similarity index 100% rename from public/less/_install.less rename to web_src/less/_install.less diff --git a/public/less/_markdown.less b/web_src/less/_markdown.less similarity index 100% rename from public/less/_markdown.less rename to web_src/less/_markdown.less diff --git a/public/less/_organization.less b/web_src/less/_organization.less similarity index 100% rename from public/less/_organization.less rename to web_src/less/_organization.less diff --git a/public/less/_repository.less b/web_src/less/_repository.less similarity index 100% rename from public/less/_repository.less rename to web_src/less/_repository.less diff --git a/public/less/_review.less b/web_src/less/_review.less similarity index 100% rename from public/less/_review.less rename to web_src/less/_review.less diff --git a/public/less/_tribute.less b/web_src/less/_tribute.less similarity index 100% rename from public/less/_tribute.less rename to web_src/less/_tribute.less diff --git a/public/less/_user.less b/web_src/less/_user.less similarity index 100% rename from public/less/_user.less rename to web_src/less/_user.less diff --git a/public/less/index.less b/web_src/less/index.less similarity index 100% rename from public/less/index.less rename to web_src/less/index.less diff --git a/public/less/themes/_base.less b/web_src/less/themes/_base.less similarity index 100% rename from public/less/themes/_base.less rename to web_src/less/themes/_base.less diff --git a/public/less/themes/arc-green.less b/web_src/less/themes/arc-green.less similarity index 100% rename from public/less/themes/arc-green.less rename to web_src/less/themes/arc-green.less