lib/Tools/node
author wenzelm
Tue, 15 Mar 2022 13:16:13 +0100
changeset 75283 574fb6486c57
child 75284 5417613efd74
permissions -rwxr-xr-x
support Node.js as well, reusing the engine from Electron/VSCodium;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
75283
574fb6486c57 support Node.js as well, reusing the engine from Electron/VSCodium;
wenzelm
parents:
diff changeset
     1
#!/usr/bin/env bash
574fb6486c57 support Node.js as well, reusing the engine from Electron/VSCodium;
wenzelm
parents:
diff changeset
     2
#
574fb6486c57 support Node.js as well, reusing the engine from Electron/VSCodium;
wenzelm
parents:
diff changeset
     3
# Author: Makarius
574fb6486c57 support Node.js as well, reusing the engine from Electron/VSCodium;
wenzelm
parents:
diff changeset
     4
#
574fb6486c57 support Node.js as well, reusing the engine from Electron/VSCodium;
wenzelm
parents:
diff changeset
     5
# DESCRIPTION: run the Node.js framework (with its own command-line arguments)
574fb6486c57 support Node.js as well, reusing the engine from Electron/VSCodium;
wenzelm
parents:
diff changeset
     6
574fb6486c57 support Node.js as well, reusing the engine from Electron/VSCodium;
wenzelm
parents:
diff changeset
     7
export ELECTRON_RUN_AS_NODE=1
574fb6486c57 support Node.js as well, reusing the engine from Electron/VSCodium;
wenzelm
parents:
diff changeset
     8
exec "$ISABELLE_VSCODIUM_ELECTRON" "$@"