summaryrefslogtreecommitdiff
path: root/vendor/console/scripts/wasmtime-wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/console/scripts/wasmtime-wrapper.sh')
-rwxr-xr-xvendor/console/scripts/wasmtime-wrapper.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/console/scripts/wasmtime-wrapper.sh b/vendor/console/scripts/wasmtime-wrapper.sh
new file mode 100755
index 0000000..75d8ca5
--- /dev/null
+++ b/vendor/console/scripts/wasmtime-wrapper.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+cd $SCRIPT_DIR/..
+wasmtime run --env INSTA_WORKSPACE_ROOT=/ --mapdir "/::$(pwd)" -- "$@"