Add tool to install bindeps

Change-Id: I1d6152924cffa168ad3199cf97506ac597257e45
This commit is contained in:
Federico Ressi 2020-06-15 16:33:31 +02:00
parent b6267343ca
commit f530416164

10
tools/install-bindeps.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
set -ex
INSTALL_PACKAGE=$(which yum || which apt)
if ! tox -e bindep ; then
.tox/bindep/bin/bindep -b | xargs -r "${INSTALL_PACKAGE}" install -y
.tox/bindep/bin/bindep
fi