]> source.dussan.org Git - gitea.git/commitdiff
Fix Fomatic Build (#13593)
author6543 <6543@obermui.de>
Mon, 16 Nov 2020 23:01:11 +0000 (00:01 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Nov 2020 23:01:11 +0000 (18:01 -0500)
Makefile

index 095252ea0fa00fad6e389f045d1754506b78d870..04bb5b6c4bec2eb77f6229db4742b3e0854ad857 100644 (file)
--- 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)