Skip to content

Commit

Permalink
update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
X3nom committed Dec 17, 2024
1 parent dd45239 commit 4362482
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

# ensure python dependencies are installed
pip3 install -r requirements.txt



TARGET_DIR="$HOME/.local/bin"

SRC_PATH="./src/testcase-tools.py"
Expand All @@ -15,6 +20,8 @@ cp "$SRC_PATH" "$TARGET_DIR/$NAME"
# Ensure the script is executable
chmod +x "$TARGET_DIR/$NAME"

echo "Installation complete! Make sure $TARGET_DIR is in your PATH."

printf "\n\033[1;32mInstallation complete!\033[0m\n"
echo "Make sure $TARGET_DIR is in your PATH."
echo "If it's not, add following to your .bashrc/.zshrc:"
echo " export PATH=\"\$HOME/.local/bin:\$PATH\""
printf "\033[3mexport PATH=\"$TARGET_DIR:\$PATH\"\033[0m\n"

0 comments on commit 4362482

Please sign in to comment.