Merge pull request #14 from irackson/fix_build

fix build error ": extra characters at the end of d command" with sem…
This commit is contained in:
Dominic Szablewski
2024-08-30 09:40:32 +02:00
committed by GitHub
+1 -1
View File
@@ -112,7 +112,7 @@ npx uglify-js build/game.packed.js \
npx roadroller -Zab14 -Zlr930 -Zmd19 -Zpr14 -S0,1,2,3,7,13,14,19,58,97,305,422 build/game.min.js -o build/game.roadrolled.js npx roadroller -Zab14 -Zlr930 -Zmd19 -Zpr14 -S0,1,2,3,7,13,14,19,58,97,305,422 build/game.min.js -o build/game.roadrolled.js
# Embed source into HTML # Embed source into HTML
sed -e '/GAME_SOURCE/{r build/game.roadrolled.js' -e 'd}' source/html_template.html > build/index.html sed -e '/GAME_SOURCE/{r build/game.roadrolled.js' -e 'd;}' source/html_template.html > build/index.html
# Build ZIP # Build ZIP
rm -f -- build/game.zip rm -f -- build/game.zip