#!/usr/bin/env bash

source scripts/build/.variables
set -e
go build -o $GOPATH/bin/lw -x --ldflags "${LDFLAGS}"
echo ""
echo "lw has been installed, and it should now be in your PATH."
echo ""
echo "Executables are installed in the directory named by the GOBIN environment"
echo "variable, which defaults to GOPATH/bin or HOME/go/bin if the GOPATH"
echo "environment variable is not set. Executables in GOROOT"
echo "are installed in GOROOT/bin or GOTOOLDIR instead of GOBIN."
echo ""
exit 0
