Skip to content

Commit

Permalink
meta: Allow nuke the tooling using
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Aug 5, 2023
1 parent 9d4e8bf commit 1648cdb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions skift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ if [ "$CUTEKIT_NOVENV" == "1" ]; then
exec cutekit $@
fi

if [ "$1" == "nuke-tools" ]; then
rm -rf .cutekit/tools .cutekit/venv
exit 0
fi

if [ ! -f .cutekit/tools/ready ]; then
if [ ! "$1" == "setup" ]; then
echo "Tools not installed."
Expand All @@ -25,8 +30,11 @@ if [ ! -f .cutekit/tools/ready ]; then

mkdir -p .cutekit

echo "Setting up Python virtual environment..."
python3 -m venv .cutekit/venv

if [ ! -d .cutekit/venv ]; then
echo "Setting up Python virtual environment..."
python3 -m venv .cutekit/venv
fi
source .cutekit/venv/bin/activate

echo "Downloading CuteKit & Chatty..."
Expand Down

0 comments on commit 1648cdb

Please sign in to comment.