diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/run.sh | 5 | ||||
| -rwxr-xr-x | scripts/run_debug.sh | 4 | ||||
| -rwxr-xr-x | scripts/run_tree.sh | 4 |
3 files changed, 11 insertions, 2 deletions
diff --git a/scripts/run.sh b/scripts/run.sh index 61acd73..abd024a 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -1,2 +1,5 @@ #! /usr/bin/env sh -rm -f /tmp/cmv_sock && ./src/fruits/cmv/cmv2 $@ +export PYTHONDONTWRITEBYTECODE=1 +export PYTHONPATH=$HOME/c/shoki/vendor/vendor/lib/python3.11/site-packages +export mesa_glthread=true +rm -f /tmp/cmv_sock && ./src/fruits/cmv/cmv "$@" diff --git a/scripts/run_debug.sh b/scripts/run_debug.sh index 73c336f..b05a533 100755 --- a/scripts/run_debug.sh +++ b/scripts/run_debug.sh @@ -1,2 +1,4 @@ #! /usr/bin/env sh -rm -f /tmp/cmv_sock && gdb -ex run --args ./src/fruits/cmv/cmv2 $@ +export PYTHONDONTWRITEBYTECODE=1 +export PYTHONPATH=$HOME/c/shoki/vendor/vendor/lib/python3.11/site-packages +rm -f /tmp/cmv_sock && gdb -ex run --args ./src/fruits/cmv/cmv $@ diff --git a/scripts/run_tree.sh b/scripts/run_tree.sh new file mode 100755 index 0000000..4359c29 --- /dev/null +++ b/scripts/run_tree.sh @@ -0,0 +1,4 @@ +#! /usr/bin/env sh +export PYTHONDONTWRITEBYTECODE=1 +export PYTHONPATH=$HOME/c/shoki/vendor/vendor/lib/python3.11/site-packages +gdb -ex run --args ./src/tree/tree $@ |