2017-04-11 16:24:00 +09:00
|
|
|
#!/usr/bin/env bash
|
2015-06-29 13:32:01 +09:00
|
|
|
TOOLS_PATH=${TOOLS_PATH:-$(dirname $0)/../}
|
|
|
|
VENV_PATH=${VENV_PATH:-${TOOLS_PATH}}
|
|
|
|
VENV_DIR=${VENV_DIR:-/.venv}
|
|
|
|
VENV=${VENV:-${VENV_PATH}/${VENV_DIR}}
|
|
|
|
source ${VENV}/bin/activate && "$@"
|