File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,12 @@ endif
1212
1313build : $(release )
1414
15- $(shell mkdir -p build)
16- build/factorio-server-manager- % .zip : app/bundle factorio-server-manager- %
15+ build/factorio-server-manager- % .zip : clean app/bundle factorio-server-manager- %
16+ @-mkdir build
1717 @echo " Packaging Build - $@ "
1818 @cp -r app/ factorio-server-manager/
1919 @cp conf.json.example factorio-server-manager/conf.json
2020 @zip -r $@ factorio-server-manager > /dev/null
21- @rm -r factorio-server-manager
2221
2322app/bundle :
2423 @echo " Building Frontend"
@@ -41,8 +40,13 @@ gen_release: build/factorio-server-manager-linux.zip build/factorio-server-manag
4140
4241clean :
4342 @echo " Cleaning"
44- @rm -r build/
45- @rm app/bundle.js
46- @rm app/bundle.css
47- @rm app/fonts/vendor
48- @rm app/images/vendor
43+ @-rm -r build/
44+ @-rm app/bundle.js
45+ @-rm app/bundle.js.map
46+ @-rm app/style.css
47+ @-rm app/style.css.map
48+ @-rm -r app/fonts/vendor/
49+ @-rm -r app/images/vendor/
50+ @-rm -r node_modules/
51+ @-rm -r pkg/
52+ @-rm -r factorio-server-manager
You can’t perform that action at this time.
0 commit comments