summaryrefslogtreecommitdiff
path: root/tools/with_venv.sh
diff options
context:
space:
mode:
authormbasnight <mbasnight@gmail.com>2012-02-22 19:26:52 -0600
committermbasnight <mbasnight@gmail.com>2012-02-22 21:20:45 -0600
commit6a3f66f0e92ab409c66a38ef3c8133e4bd49a11e (patch)
treec4235fb700d6ac9bc833edcacfcb1e93e3fcf5db /tools/with_venv.sh
parent90bf37cbfdebb1e0a47761bd4cc9ced8fcce38e9 (diff)
downloadtrove-6a3f66f0e92ab409c66a38ef3c8133e4bd49a11e.tar.gz
Adding the venv/unit test framework stuff
* run_tests stuff * gerrit stuff * test-requires for pip
Diffstat (limited to 'tools/with_venv.sh')
-rw-r--r--tools/with_venv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/with_venv.sh b/tools/with_venv.sh
new file mode 100644
index 00000000..c8d2940f
--- /dev/null
+++ b/tools/with_venv.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+TOOLS=`dirname $0`
+VENV=$TOOLS/../.venv
+source $VENV/bin/activate && $@