removed salticidae env handling

This commit is contained in:
StephenButtolph 2020-05-23 17:22:34 -04:00
parent 40cb65ed8f
commit a016a290d3
3 changed files with 0 additions and 17 deletions

View File

@ -10,7 +10,6 @@ PREFIX="${PREFIX:-$(pwd)/build}"
PLUGIN_PREFIX="$PREFIX/plugins"
SRC_DIR="$(dirname "${BASH_SOURCE[0]}")"
source "$SRC_DIR/env.sh"
CORETH_PKG=github.com/ava-labs/coreth
CORETH_PATH="$GOPATH/src/$CORETH_PKG"

View File

@ -6,7 +6,4 @@ set -o pipefail
# Ted: contact me when you make any changes
SRC_DIR="$(dirname "${BASH_SOURCE[0]}")"
source "$SRC_DIR/env.sh"
go test -race -timeout="30s" -coverprofile="coverage.out" -covermode="atomic" ./...

View File

@ -1,13 +0,0 @@
#!/bin/bash
# Ted: contact me when you make any changes
# resolve the required env for salticidae-go
GOPATH="$(go env GOPATH)"
SALTICIDAE_GO_HOME="$GOPATH/src/github.com/ava-labs/salticidae-go/"
if [[ -f "$SALTICIDAE_GO_HOME/salticidae/libsalticidae.a" ]]; then
source "$SALTICIDAE_GO_HOME/scripts/env.sh"
else
source /dev/stdin <<<"$(curl -sS https://raw.githubusercontent.com/ava-labs/salticidae-go/v0.1.0/setup.sh)"
fi