aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-08-29 21:57:07 +0200
committerGitHub <noreply@github.com>2021-08-29 21:57:07 +0200
commit360d8e7c232fe42ab31e0de1e7c57dda6c6bf8de (patch)
tree014f0b56238bdb500f492f39ddccc166f7d968c4 /Makefile
parent968225e59c41295535800688bad5d7a13a68264c (diff)
downloadgitea-360d8e7c232fe42ab31e0de1e7c57dda6c6bf8de.tar.gz
gitea-360d8e7c232fe42ab31e0de1e7c57dda6c6bf8de.zip
Remove unused Fomantic sidebar module (#16853)
* Remove unused Fomantic sidebar module The [Sidebar](https://fomantic-ui.com/modules/sidebar.html) module seems currently unused (at least I can't find any reference to it in templates or js), so remove it from the Fomantic build. * remove useless minified fomantic build files * mark fomantic build files as being generated
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8339e77f4f..ff03e4c0bb 100644
--- a/Makefile
+++ b/Makefile
@@ -701,6 +701,7 @@ fomantic:
cp -rf $(FOMANTIC_WORK_DIR)/_site $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/src/
cp -f web_src/js/vendor/dropdown.js $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/src/definitions/modules
cd $(FOMANTIC_WORK_DIR) && npx gulp -f node_modules/fomantic-ui/gulpfile.js build
+ rm -f $(FOMANTIC_WORK_DIR)/build/*.min.*
.PHONY: webpack
webpack: $(WEBPACK_DEST)