try waiting for postCreateCommand
This commit is contained in:
parent
392c5542f6
commit
f5509a4268
2 changed files with 17 additions and 32 deletions
|
|
@ -2,20 +2,12 @@
|
|||
set -e
|
||||
|
||||
# Add user's fork as a remote
|
||||
if ! git remote | grep -q "fork"; then
|
||||
git remote add fork https://github.com/${GITHUB_USER}/flask
|
||||
fi
|
||||
# if ! git remote | grep -q "fork"; then
|
||||
# git remote add fork https://github.com/${GITHUB_USER}/flask
|
||||
# fi
|
||||
|
||||
# Create and activate a virtualenv
|
||||
python3 -m venv .venv
|
||||
. .venv/bin/activate
|
||||
|
||||
# Upgrade pip and setuptools
|
||||
python -m pip install --upgrade pip setuptools
|
||||
|
||||
# Install the development dependencies, then install Flask in editable mode
|
||||
pip install --upgrade pip setuptools
|
||||
pip install -r requirements/dev.txt && pip install -e .
|
||||
|
||||
# Install pre-commit hooks and coverage
|
||||
pre-commit install
|
||||
pip install coverage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue