Skip to content

Commit

Permalink
Wwrechard/update bootstrap (#64)
Browse files Browse the repository at this point in the history
* update bootstrap file

* clean unnecessary files

* remove unnecesary files
  • Loading branch information
wwrechard authored Sep 4, 2023
1 parent 1b1d8f7 commit 38eba38
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ dist/
pydlm.egg-info/
pydlm.venv/
*.venv/
clear/
clear/
build/
install/
7 changes: 6 additions & 1 deletion scripts/bootstrap
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#!/bin/bash

cd "$(dirname -- "$0")/.."
VENV="$(basename $PWD).venv"

if [ "$VENV" != "pydlm.venv" ]; then
echo "Error creating the virtual env..."
echo "Please run bootstrap script in the root directory."
return 1
fi

echo "==> Preparing dependencies..."

PY_VERSION=$PYENV_VERSION
Expand Down

0 comments on commit 38eba38

Please sign in to comment.