From ff25122977689598faf9c8782b9e286040cce819 Mon Sep 17 00:00:00 2001 From: spv420 Date: Sun, 31 Jul 2022 00:52:32 -0400 Subject: yahtzee --- build_native.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'build_native.sh') diff --git a/build_native.sh b/build_native.sh index a2f2a3b..fee1a7b 100755 --- a/build_native.sh +++ b/build_native.sh @@ -1,9 +1,11 @@ #!/bin/bash -rm exp.js -find src/js -name '*.js' -exec cat {} \; >> exp.js -echo >> exp.js -echo "main();" >> exp.js +rm exp_unmin.js +find src/js -name '*.js' -exec cat {} \; >> exp_unmin.js +echo >> exp_unmin.js +echo "main();" >> exp_unmin.js + +cat exp_unmin.js | tools/bin/jsmin > exp.js rm stage4.js find src/stage4 -name '*.js' -exec cat {} \; >> stage4.js -- cgit v1.2.3