From: 6543 <6543@obermui.de> Date: Mon, 16 Nov 2020 23:01:11 +0000 (+0100) Subject: Fix Fomatic Build (#13593) X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f845fa0ddc4ebf3e36d4cd4335402fca681c15e3;p=gitea.git Fix Fomatic Build (#13593) --- diff --git a/Makefile b/Makefile index 095252ea0f..04bb5b6c4b 100644 --- a/Makefile +++ b/Makefile @@ -593,9 +593,9 @@ fomantic: $(FOMANTIC_DEST) $(FOMANTIC_DEST): $(FOMANTIC_CONFIGS) package-lock.json | 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 web_src/fomantic/css.js node_modules/fomantic-ui/tasks/build/css.js + cp -f web_src/fomantic/theme.config.less node_modules/fomantic-ui/src/theme.config + cp -rf web_src/fomantic/_site/* node_modules/fomantic-ui/src/_site/ + cp -f web_src/fomantic/css.js node_modules/fomantic-ui/tasks/build/css.js npx gulp -f node_modules/fomantic-ui/gulpfile.js build @touch $(FOMANTIC_DEST)