aboutsummaryrefslogtreecommitdiff
path: root/scripts/build_coreth.sh
diff options
context:
space:
mode:
authoraaronbuchwald <[email protected]>2020-11-30 12:22:29 -0500
committerGitHub <[email protected]>2020-11-30 12:22:29 -0500
commitcfc11729d0f24b8e42a3f9cbcf7534e2db09d720 (patch)
tree9478961d310c5b69ca65fc9551ef9976b1d01da5 /scripts/build_coreth.sh
parentae4541f42a666fb5ae1c36d6f7423c3d9eb2c875 (diff)
parent415b1eb564efc70cf7e673358286e19de8551fbf (diff)
Merge pull request #62 from ava-labs/devv0.3.15
Dev
Diffstat (limited to 'scripts/build_coreth.sh')
-rwxr-xr-xscripts/build_coreth.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/scripts/build_coreth.sh b/scripts/build_coreth.sh
deleted file mode 100755
index 41fab1b..0000000
--- a/scripts/build_coreth.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env bash
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-# Set GOPATH
-GOPATH="$(go env GOPATH)"
-
-# Set default binary location
-BINARY_PATH="$GOPATH/src/github.com/ava-labs/avalanchego/build/plugins/evm"
-
-if [[ $# -eq 1 ]]; then
- BINARY_PATH=$1
-elif [[ $# -ne 0 ]]; then
- echo "Invalid arguments to build coreth. Requires either no arguments (default) or one arguments to specify binary location."
- exit 1
-fi
-
-# Build Coreth, which is run as a subprocess
-echo "Building Coreth..."
-go build -o "$BINARY_PATH" "plugin/"*.go