Sha256: 35a4aea44dd965011c57eb96647d5cf816473e0df507dd86f9e80ea8d847b1bd
Contents?: true
Size: 740 Bytes
Versions: 36
Compression:
Stored size: 740 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/modules_test*" \ -and -not -path "*/pkg/mod*" \ -and -not -path "*/pkg" \ -and -not -path "*/src" \ -print0 | xargs -0 rm -rf if go help mod >/dev/null; then go clean -modcache fi fi (cd src/test && go get) if go help mod >/dev/null; then (cd src/modules_test && GO111MODULE=on go mod download) fi
Version data entries
36 entries across 36 versions & 1 rubygems