aboutsummaryrefslogtreecommitdiff
path: root/tools/manage
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-22 18:11:35 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-23 01:36:11 +0800
commit687ae968e10e1738c105fc0538fc29ccb08bfbbf (patch)
tree09217d1f06b435cbab5f665cf0bc0bd2b0e8b8e7 /tools/manage
parent540bd737f6a805459becfaef4d89686a418efa04 (diff)
downloadcrupest-687ae968e10e1738c105fc0538fc29ccb08bfbbf.tar.gz
crupest-687ae968e10e1738c105fc0538fc29ccb08bfbbf.tar.bz2
crupest-687ae968e10e1738c105fc0538fc29ccb08bfbbf.zip
feat(services): refactor structure.
Diffstat (limited to 'tools/manage')
-rwxr-xr-xtools/manage16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/manage b/tools/manage
deleted file mode 100755
index dc7f64b..0000000
--- a/tools/manage
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-python3.11 --version > /dev/null 2>&1 || (
- echo Error: failed to run Python with python3.11 --version.
- exit 1
-)
-
-script_dir=$(dirname "$0")
-project_dir=$(realpath "$script_dir/..")
-
-cd "$project_dir"
-
-export PYTHONPATH="$project_dir/tools/cru-py:$PYTHONPATH"
-python3.11 -m cru.service --project-dir "$project_dir" "$@"