Statistics
| Branch: | Tag: | Revision:

root / ci / install.sh @ d9667d93

History | View | Annotate | Download (306 Bytes)

1 cd391e22 Christos Stavrakakis
#!/bin/sh
2 fc67026b Christos Stavrakakis
3 010e6c43 Giorgos Korfiatis
if [ -n "$VIRTUAL_ENV" ]; then
4 ca0a879c Christos Stavrakakis
  OPTIONS=--script-dir=$VIRTUAL_ENV/bin/
5 ca0a879c Christos Stavrakakis
  echo $OPTIONS
6 ca0a879c Christos Stavrakakis
else
7 ca0a879c Christos Stavrakakis
  OPTIONS=
8 ca0a879c Christos Stavrakakis
fi
9 ca0a879c Christos Stavrakakis
10 fc67026b Christos Stavrakakis
set -e
11 010e6c43 Giorgos Korfiatis
cwd=`dirname $0`
12 010e6c43 Giorgos Korfiatis
cd "$cwd"/..
13 010e6c43 Giorgos Korfiatis
14 078cb806 Christos Stavrakakis
. ./ci/config
15 078cb806 Christos Stavrakakis
16 ca0a879c Christos Stavrakakis
# Update version
17 010e6c43 Giorgos Korfiatis
devflow-update-version
18 ca0a879c Christos Stavrakakis
19 078cb806 Christos Stavrakakis
for project in $PROJECTS; do
20 078cb806 Christos Stavrakakis
  cd $project
21 010e6c43 Giorgos Korfiatis
  python setup.py develop -N $OPTIONS
22 078cb806 Christos Stavrakakis
  cd -
23 078cb806 Christos Stavrakakis
done