-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change behavior of 'all' flag in bulk insert (#51)
* Change behavior of 'all' flag in bulk insert * Update envrc file
- Loading branch information
Showing
3 changed files
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
layout python python2 | ||
if [ ! -f ".direnv/direnv.lock" ]; then | ||
python_version=python2 | ||
lock_file="direnv.$python_version.lock" | ||
|
||
layout python $python_version | ||
|
||
if [ ! -f ".direnv/$lock_file" ]; then | ||
date +%FT%TZ > ".direnv/$lock_file" | ||
|
||
for req in requirements requirements-test; do | ||
if [ -f $req.txt ]; then | ||
echo "direnv: installing project $req" | ||
pip install -r $req.txt 1> /dev/null | ||
pip install -r $req.txt | ||
fi | ||
done | ||
|
||
for package in ipython tox; do | ||
for package in ipython pytest tox; do | ||
echo "direnv: installing $package" | ||
pip install --upgrade $package 1> /dev/null | ||
pip install --upgrade $package | ||
done | ||
|
||
date +%FT%TZ > .direnv/direnv.lock | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters