summaryrefslogtreecommitdiff
path: root/tools/with_venv.sh
blob: 1b09ad70ab6a679c3658026eff5ec9737b6564d1 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

command -v tox > /dev/null 2>&1
if [ $? -ne 0 ]; then
  echo 'This script requires "tox" to run.'
  echo 'You can install it with "pip install tox".'
  exit 1;
fi

tox -evenv -- $@