build
Some checks failed
/ mirror_to_github (push) Failing after 1m51s
/ test (push) Successful in 11s

This commit is contained in:
Leon van Kammen 2025-03-24 17:35:18 +01:00
parent 481c2e7516
commit f0c80645db
5 changed files with 26 additions and 133 deletions

7
make
View file

@ -41,8 +41,8 @@ standalone(){ # build standalone xrsh.com binary
echo "document.head.innerHTML += \`<style type='text/css'>"
cat src/index.css
echo -e "</style>\`;\n"
cat src/assets/winbox* src/com/{isoterminal,data2event,dom,html-as-texture-in-xr,pastedrop,require,window}.js src/com/lib/*.js src/com/isoterminal/{ISOTerminal.js,term.js,feat/boot.js,feat/jsconsole.js,feat/term.js,feat/remotekeyboard.js}
echo "// mark above libs as pre-required in require.js"
cat src/assets/winbox* src/com/{isoterminal,data2event,dom,html-as-texture-in-xr,pastedrop,require,window}.js src/com/lib/*.js src/com/isoterminal/{ISOTerminal.js,term.js,feat/boot.js,feat/jsconsole.js,feat/term.js}
echo "// mark above libs as pre-required in require.js, to prevent 'component already registered' errors "
echo "AFRAME.utils.require.required = {";
echo " window: true,"
echo " winboxjs: true,"
@ -53,6 +53,7 @@ standalone(){ # build standalone xrsh.com binary
echo " selfcontain: true,"
echo " v86: true,"
echo " htmlinxr: true,"
echo " html: true,"
echo " PromiseWorker: true,"
echo " ISOTerminal: true,"
echo " localforage: true,"
@ -71,7 +72,7 @@ standalone(){ # build standalone xrsh.com binary
ls -lh xrsh.js
}
test -z "$1" && { exec; jslib; }
test -z "$1" && { jslib; exec; }
test -n "$1" && "$@"
}

@ -1 +1 @@
Subproject commit 9698cafefd3c3cc36e90c3a3120a28ffe4810171
Subproject commit 9579bf7215988205159616e4272714fe45c3f9e2

BIN
xrsh.com

Binary file not shown.

View file

@ -1 +1 @@
ef521e7f5e6c8869624e32bc76131f003b115a2d83516b4f5a9b2504fea90478 xrsh.com
59c59618b35799a3d3a149cf6bcc1d7a03b0a4956c07787d0f5fc979c19bd25f xrsh.com

148
xrsh.js

File diff suppressed because one or more lines are too long