Skip to content

Commit 73a646d

Browse files
committed
install-dev-dependencies.sh fails after cloning
Fix: install-dev-dependencies.sh fails if run just after cloning due to missing https-everywhere-checker/requirements.txt. This file is created when the corresponding submodule is updated.
1 parent 8f26184 commit 73a646d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

install-dev-dependencies.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ elif type brew >/dev/null ; then
1111
echo '/usr/local/bin not found in $PATH, please add it.'
1212
fi
1313
fi
14+
15+
# Get the addon SDK submodule and rule checker
16+
git submodule init
17+
git submodule update
18+
19+
# Install Python packages
1420
pip install --user --no-allow-insecure --no-allow-external -r requirements.txt
1521
cd https-everywhere-checker
1622
pip install --user -r requirements.txt
1723
cd -
18-
# Get the addon SDK submodule
19-
git submodule init
20-
git submodule update
2124

2225
# Install a hook to run tests before pushing.
2326
ln -sf ../../test.sh .git/hooks/pre-push

0 commit comments

Comments
 (0)