mirror of https://github.com/poanetwork/gecko.git
removed salticidae env handling
This commit is contained in:
parent
40cb65ed8f
commit
a016a290d3
|
@ -10,7 +10,6 @@ PREFIX="${PREFIX:-$(pwd)/build}"
|
||||||
PLUGIN_PREFIX="$PREFIX/plugins"
|
PLUGIN_PREFIX="$PREFIX/plugins"
|
||||||
|
|
||||||
SRC_DIR="$(dirname "${BASH_SOURCE[0]}")"
|
SRC_DIR="$(dirname "${BASH_SOURCE[0]}")"
|
||||||
source "$SRC_DIR/env.sh"
|
|
||||||
|
|
||||||
CORETH_PKG=github.com/ava-labs/coreth
|
CORETH_PKG=github.com/ava-labs/coreth
|
||||||
CORETH_PATH="$GOPATH/src/$CORETH_PKG"
|
CORETH_PATH="$GOPATH/src/$CORETH_PKG"
|
||||||
|
|
|
@ -6,7 +6,4 @@ set -o pipefail
|
||||||
|
|
||||||
# Ted: contact me when you make any changes
|
# 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" ./...
|
go test -race -timeout="30s" -coverprofile="coverage.out" -covermode="atomic" ./...
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in New Issue