home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Todos view, filterable and sortable by process, date, comment, etc.
[plomtask]
/
scripts
/
setup_dev_environment.sh
diff --git
a/scripts/setup_dev_environment.sh
b/scripts/setup_dev_environment.sh
index 8ea3a443cd865cc1a0d2d8166978391cddd7e868..32848d94510170fd58462ff62b1e2b9e0f3438c4 100755
(executable)
--- a/
scripts/setup_dev_environment.sh
+++ b/
scripts/setup_dev_environment.sh
@@
-3,7
+3,11
@@
set -e
if [ ! -d '.git' ]; then
echo "Cannot find .git/, please run me from your cloned repo's top directory!"
if [ ! -d '.git' ]; then
echo "Cannot find .git/, please run me from your cloned repo's top directory!"
-elif [ ! -f '.git/hooks/pre-commit' ]; then
+fi
+
+pip install -r requirements.txt
+
+if [ ! -f '.git/hooks/pre-commit' ]; then
echo 'Linking pre-commit hook.'
cd .git/hooks/
ln -s ../../scripts/pre-commit
echo 'Linking pre-commit hook.'
cd .git/hooks/
ln -s ../../scripts/pre-commit