caddy-retired/scripts/install-xcaddy

6 lines
167 B
Plaintext
Raw Normal View History

#!/bin/bash
DIR=$(dirname "$(dirname "$(readlink -f "$0")")") || exit
BUILD_DIR=$DIR/build
export GOPATH=$BUILD_DIR
go get -u github.com/caddyserver/xcaddy/cmd/xcaddy