Files
openstack-ansible-specs/tools/with_venv.sh
Kevin Carter 05b9c2e76f Initial commit for OS-Ansible-Deployment specs
This commit adds basic repo configuration and testing for specs.
Changes include:

* Doc testing
* Index testing
* Build testing
* Initial spec template

Change-Id: I48e4ef1794fb3b698a8346345848bdfa67ccb08b
2015-03-17 14:19:19 -05:00

9 lines
219 B
Bash

#!/bin/bash
tools_path=${tools_path:-$(dirname $0)}
venv_path=${venv_path:-${tools_path}}
venv_dir=${venv_name:-/../.venv}
TOOLS=${tools_path}
VENV=${venv:-${venv_path}/${venv_dir}}
source ${VENV}/bin/activate && "$@"