summaryrefslogtreecommitdiff
path: root/setup/tools/with_venv.sh
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-08-08 17:33:47 +0900
committerkali <kali@leap.se>2012-08-08 17:33:47 +0900
commit81e0e2bc82757425bebfb659e6c2cb873bc88ec9 (patch)
treebf8faf83ea2f1a5f43085dff6fc284c54e8dc5df /setup/tools/with_venv.sh
parent3516661f431791b8158179f3a5f87af6b05d85a8 (diff)
reset tests + run_tests script + very simple first test.
Diffstat (limited to 'setup/tools/with_venv.sh')
-rwxr-xr-xsetup/tools/with_venv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup/tools/with_venv.sh b/setup/tools/with_venv.sh
new file mode 100755
index 00000000..0e58f1ab
--- /dev/null
+++ b/setup/tools/with_venv.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+TOOLS=`dirname $0`
+VENV=$TOOLS/../../.venv
+source $VENV/bin/activate && $@