summaryrefslogtreecommitdiff
path: root/tools/with_venv.sh
blob: e6e44f599d4d9a0ad47eac09f18cfb40aa0ef777 (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 -- $@