From: silverwind Date: Mon, 16 Nov 2020 23:01:05 +0000 (+0100) Subject: Fix Fomatic Build (#13596) X-Git-Tag: v1.13.0~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c6ab79ee3ceec5cdb5528c5936ff0706e69289e7;p=gitea.git Fix Fomatic Build (#13596) Port of #13593 to 1.13 --- diff --git a/Makefile b/Makefile index 404ead6d1e..20decf16a6 100644 --- a/Makefile +++ b/Makefile @@ -638,8 +638,8 @@ fomantic: $(FOMANTIC_DEST) $(FOMANTIC_DEST): $(FOMANTIC_CONFIGS) | node_modules rm -rf $(FOMANTIC_DEST_DIR) - cp web_src/fomantic/theme.config.less node_modules/fomantic-ui/src/theme.config - cp -r web_src/fomantic/_site/* node_modules/fomantic-ui/src/_site/ + cp -f web_src/fomantic/theme.config.less node_modules/fomantic-ui/src/theme.config + cp -fr web_src/fomantic/_site/* node_modules/fomantic-ui/src/_site/ npx gulp -f node_modules/fomantic-ui/gulpfile.js build @touch $(FOMANTIC_DEST)