Sha256: 0dbf6f381d77c2d88a9d9f87b6ede9a7701ea56bdeb4d41a2a07f5ccdbcb359e

Contents?: true

Size: 452 Bytes

Versions: 9

Compression:

Stored size: 452 Bytes

Contents

#!/bin/bash
set -e

if [ -z "$(which go)" ]; then
  echo "A local Go installation is required for go development." >&2
  exit 127
fi

# setup test fixtures
BASE_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
export GOPATH="$BASE_PATH/test/fixtures/go"
cd $BASE_PATH/test/fixtures/go

if [ "$1" == "-f" ]; then
  find . -not -regex "\.*" -and -not -path "*/src/test*" -and -not -path "*/src" -print0 | xargs -0 rm -rf
fi

cd src/test
go get

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
licensed-1.5.1 script/source-setup/go
licensed-1.4.0 script/source-setup/go
licensed-1.3.4 script/source-setup/go
licensed-1.3.3 script/source-setup/go
licensed-1.3.2 script/source-setup/go
licensed-1.3.1 script/source-setup/go
licensed-1.3.0 script/source-setup/go
licensed-1.2.0 script/source-setup/go
licensed-1.1.0 script/source-setup/go