basics in place
This commit is contained in:
parent
977ce9fe0c
commit
7483918fae
35
build.sh
Normal file
35
build.sh
Normal 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
|
Loading…
x
Reference in New Issue
Block a user