瀏覽代碼

[SugarCube] enables Linux-compilation.

Stephan Fuchs 2 月之前
父節點
當前提交
0019c83522
共有 3 個文件被更改,包括 22 次插入0 次删除
  1. 22 0
      buildHTML.sh
  2. 二進制
      qsrc2tw/tools/QSRC2TW/qsrc2tw
  3. 0 0
      qsrc2tw/tools/tweeGo/tweego_nix64

+ 22 - 0
buildHTML.sh

@@ -0,0 +1,22 @@
+LOCATIONS="$(pwd)/locations"
+
+pushd "$1" > /dev/null
+
+cd ./qsrc2tw/tools/QSRC2TW
+
+./qsrc2tw -in "$LOCATIONS" -out "../../twine-code"
+
+cd ../..
+
+if which node > /dev/null
+	then
+		npx tsc
+		npx esbuild "temp/typescript.js" --minify --outfile="twine-code/-generatedFromTW/typescript-min.js"
+	else
+		echo "Node could not be found"
+
+fi
+
+popd > /dev/null
+
+./qsrc2tw/tools/tweeGo/tweego_nix64 --head "./qsrc2tw/twine-code/misc/head.txt" -o "./glife.html" "./qsrc2tw/twine-code"

二進制
qsrc2tw/tools/QSRC2TW/qsrc2tw


File diff suppressed because it is too large
+ 0 - 0
qsrc2tw/tools/tweeGo/tweego_nix64


Some files were not shown because too many files changed in this diff