pushd $(dirname "$0")/.. # run from root dir set -e go build -o target/pilgrim main.go popd # switch back to dir we started from