Revision 1cb6a324
b/ci/develop-common.sh | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
|
|
3 |
if [ -n "$VIRTUAL_ENV" ]; then |
|
4 |
OPTIONS=--script-dir=$VIRTUAL_ENV/bin/ |
|
5 |
echo $OPTIONS |
|
6 |
else |
|
7 |
OPTIONS= |
|
8 |
fi |
|
9 |
|
|
10 |
. ./ci/config |
b/ci/install.sh | ||
---|---|---|
1 | 1 |
#!/bin/sh |
2 | 2 |
|
3 |
if [ -n "$VIRTUAL_ENV" ]; then |
|
4 |
OPTIONS=--script-dir=$VIRTUAL_ENV/bin/ |
|
5 |
echo $OPTIONS |
|
6 |
else |
|
7 |
OPTIONS= |
|
8 |
fi |
|
9 |
|
|
3 |
# `cd` to the top dir of synnefo repository |
|
10 | 4 |
set -e |
11 | 5 |
cwd=`dirname $0` |
12 | 6 |
cd "$cwd"/.. |
13 | 7 |
|
14 |
. ./ci/config |
|
8 |
# Do common tasks for install/uninstall purposes |
|
9 |
. ./ci/develop-common.sh |
|
15 | 10 |
|
16 | 11 |
# Update version |
17 | 12 |
devflow-update-version |
b/ci/uninstall.sh | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
|
|
3 |
# `cd` to the top dir of synnefo repository |
|
4 |
set -e |
|
5 |
cwd=`dirname $0` |
|
6 |
cd "$cwd"/.. |
|
7 |
|
|
8 |
# Do common tasks for install/uninstall purposes |
|
9 |
. ./ci/develop-common.sh |
|
10 |
|
|
11 |
for project in $PROJECTS; do |
|
12 |
cd $project |
|
13 |
python setup.py develop --uninstall $OPTIONS |
|
14 |
cd - |
|
15 |
done |
Also available in: Unified diff