basics in place

This commit is contained in:
Sandy Walsh 2014-05-27 02:59:42 +00:00
parent 977ce9fe0c
commit 7483918fae

35
build.sh Normal file
View File

@ -0,0 +1,35 @@
#!/bin/bash
echo "StackTach dev env build script"
SOURCE_DIR=git
VENV_DIR=.venv
if [[ -f local.sh ]]; then
source local.sh
fi
if [[ ! -d "$SOURCE_DIR" ]]; then
mkdir $SOURCE_DIR
fi
if [[ ! -d "$VENV_DIR" ]]; then
virtualenv $VENV_DIR
fi
cd $SOURCE_DIR
for file in StackTach/shoebox StackTach/simport StackTach/notigen \
StackTach/notabene StackTach/notification_utils rackerlabs/yagi
do
git clone https://github.com/$file
done
cd ..
source ./$VENV_DIR/bin/activate
for file in $SOURCE_DIR/*
do
cd $file
python setup.py install
cd ../..
done