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
commit1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8 (patch)
tree585b6124b0100371b4bd8a291c4a59fbb5fbf1fe /tools/manage
parenta931457d61b053682d5e89a0cfb411e43e5e21c7 (diff)
downloadcrupest-1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8.tar.gz
crupest-1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8.tar.bz2
crupest-1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8.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" "$@"