File: install_test_deps.sh

package info (click to toggle)
golang-github-gocql-gocql 0.0~git20191102.0.9faa4c0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,012 kB
  • sloc: sh: 84; makefile: 2
file content (16 lines) | stat: -rwxr-xr-x 337 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

# This is not supposed to be an error-prone script; just a convenience.

# Install CCM
pip install --user cql PyYAML six
git clone https://github.com/pcmanus/ccm.git
pushd ccm
./setup.py install --user
popd

if [ "$1" != "gocql/gocql" ]; then
    USER=$(echo $1 | cut -f1 -d'/')
    cd ../..
    mv ${USER} gocql
fi