dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 12a1aee4a416410fa81eb63032724536005442ee
parent bf899e11dc0d52cf1e3c1f056a6400b58fcb3e37
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Fri, 17 Aug 2018 06:56:09 -0400

Remove Python-specific post-checkout code

Diffstat:
M.local/lib/gitdir/hooks/post-checkout | 18------------------
1 file changed, 0 insertions(+), 18 deletions(-)

diff --git a/.local/lib/gitdir/hooks/post-checkout b/.local/lib/gitdir/hooks/post-checkout @@ -1,20 +1,2 @@ #!/bin/sh -if [ -f setup.py ] -then - [ -d .env ] && rm -rf .env - echo "(Re)creating a virtual environment" - virtualenv .env - source .env/bin/activate - for req in `ls requirements*.txt` - do - echo -n "Installing requirements listed in $req ... " - pip install -r $req > /dev/null 2>&1 - if [ $? -eq 0 ] - then - echo "Done" - else - echo "Complete with errors" - fi - done -fi `git rev-parse --git-dir`/hooks/ctags >/dev/null 2>&1 &