sdt can compile journal and other projects. it using a json config system. this program's Repo exists on the Gitea under stan. Readme included as well.
17 lines
415 B
Bash
17 lines
415 B
Bash
#!/usr/bin/env sh
|
|
set -eu
|
|
|
|
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
|
|
|
|
if command -v python3 >/dev/null 2>&1; then
|
|
PYTHON_EXE="python3"
|
|
elif command -v python >/dev/null 2>&1; then
|
|
PYTHON_EXE="python"
|
|
else
|
|
echo "python3/python not found." >&2
|
|
exit 1
|
|
fi
|
|
|
|
eval "$("$PYTHON_EXE" "$SCRIPT_DIR/dev_shell.py" export --shell bash)"
|
|
echo "Development shell initialized from Python bootstrap script."
|