aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-11-12 17:22:16 +0800
committerAntoine GIRARD <sapk@users.noreply.github.com>2019-11-12 10:22:16 +0100
commite4e6d48e30da944192263f7ad812dfa78f03ae27 (patch)
treec916a645486c46cdc9dbf8e61c3454e757abe1ff
parenta0d401451710622b2856d61bf514bccdc7bd0fbd (diff)
downloadgitea-e4e6d48e30da944192263f7ad812dfa78f03ae27.tar.gz
gitea-e4e6d48e30da944192263f7ad812dfa78f03ae27.zip
Move less from public/ to web_src/ so that it will not be packe… (#8908)
-rw-r--r--Makefile6
-rw-r--r--web_src/less/_admin.less (renamed from public/less/_admin.less)0
-rw-r--r--web_src/less/_base.less (renamed from public/less/_base.less)0
-rw-r--r--web_src/less/_dashboard.less (renamed from public/less/_dashboard.less)0
-rw-r--r--web_src/less/_editor.less (renamed from public/less/_editor.less)0
-rw-r--r--web_src/less/_emojify.less (renamed from public/less/_emojify.less)0
-rw-r--r--web_src/less/_explore.less (renamed from public/less/_explore.less)0
-rw-r--r--web_src/less/_form.less (renamed from public/less/_form.less)0
-rw-r--r--web_src/less/_home.less (renamed from public/less/_home.less)0
-rw-r--r--web_src/less/_install.less (renamed from public/less/_install.less)0
-rw-r--r--web_src/less/_markdown.less (renamed from public/less/_markdown.less)0
-rw-r--r--web_src/less/_organization.less (renamed from public/less/_organization.less)0
-rw-r--r--web_src/less/_repository.less (renamed from public/less/_repository.less)0
-rw-r--r--web_src/less/_review.less (renamed from public/less/_review.less)0
-rw-r--r--web_src/less/_tribute.less (renamed from public/less/_tribute.less)0
-rw-r--r--web_src/less/_user.less (renamed from public/less/_user.less)0
-rw-r--r--web_src/less/index.less (renamed from public/less/index.less)0
-rw-r--r--web_src/less/themes/_base.less (renamed from public/less/themes/_base.less)0
-rw-r--r--web_src/less/themes/arc-green.less (renamed from public/less/themes/arc-green.less)0
19 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 34685dea93..69eb088ba7 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
index 0bd685142a..0bd685142a 100644
--- a/public/less/_admin.less
+++ b/web_src/less/_admin.less
diff --git a/public/less/_base.less b/web_src/less/_base.less
index 8bf49b1ef9..8bf49b1ef9 100644
--- a/public/less/_base.less
+++ b/web_src/less/_base.less
diff --git a/public/less/_dashboard.less b/web_src/less/_dashboard.less
index 8749fb8802..8749fb8802 100644
--- a/public/less/_dashboard.less
+++ b/web_src/less/_dashboard.less
diff --git a/public/less/_editor.less b/web_src/less/_editor.less
index 453b8b433e..453b8b433e 100644
--- a/public/less/_editor.less
+++ b/web_src/less/_editor.less
diff --git a/public/less/_emojify.less b/web_src/less/_emojify.less
index 4cd9da3f21..4cd9da3f21 100644
--- a/public/less/_emojify.less
+++ b/web_src/less/_emojify.less
diff --git a/public/less/_explore.less b/web_src/less/_explore.less
index ad9adc70e0..ad9adc70e0 100644
--- a/public/less/_explore.less
+++ b/web_src/less/_explore.less
diff --git a/public/less/_form.less b/web_src/less/_form.less
index 2f37666fb6..2f37666fb6 100644
--- a/public/less/_form.less
+++ b/web_src/less/_form.less
diff --git a/public/less/_home.less b/web_src/less/_home.less
index 53fd76f098..53fd76f098 100644
--- a/public/less/_home.less
+++ b/web_src/less/_home.less
diff --git a/public/less/_install.less b/web_src/less/_install.less
index b38ec87b76..b38ec87b76 100644
--- a/public/less/_install.less
+++ b/web_src/less/_install.less
diff --git a/public/less/_markdown.less b/web_src/less/_markdown.less
index 8c7b1125c9..8c7b1125c9 100644
--- a/public/less/_markdown.less
+++ b/web_src/less/_markdown.less
diff --git a/public/less/_organization.less b/web_src/less/_organization.less
index 6071604cbc..6071604cbc 100644
--- a/public/less/_organization.less
+++ b/web_src/less/_organization.less
diff --git a/public/less/_repository.less b/web_src/less/_repository.less
index 84d59bbe91..84d59bbe91 100644
--- a/public/less/_repository.less
+++ b/web_src/less/_repository.less
diff --git a/public/less/_review.less b/web_src/less/_review.less
index c01e7533b4..c01e7533b4 100644
--- a/public/less/_review.less
+++ b/web_src/less/_review.less
diff --git a/public/less/_tribute.less b/web_src/less/_tribute.less
index ad097bef6d..ad097bef6d 100644
--- a/public/less/_tribute.less
+++ b/web_src/less/_tribute.less
diff --git a/public/less/_user.less b/web_src/less/_user.less
index 52c59464d8..52c59464d8 100644
--- a/public/less/_user.less
+++ b/web_src/less/_user.less
diff --git a/public/less/index.less b/web_src/less/index.less
index 0ffd6c9be6..0ffd6c9be6 100644
--- a/public/less/index.less
+++ b/web_src/less/index.less
diff --git a/public/less/themes/_base.less b/web_src/less/themes/_base.less
index e339a6fa8e..e339a6fa8e 100644
--- a/public/less/themes/_base.less
+++ b/web_src/less/themes/_base.less
diff --git a/public/less/themes/arc-green.less b/web_src/less/themes/arc-green.less
index 06e7c78d41..06e7c78d41 100644
--- a/public/less/themes/arc-green.less
+++ b/web_src/less/themes/arc-green.less