Commit b49506d6 authored by Noah Prail's avatar Noah Prail

chore: Improve build

parent c3a4d0dc
Pipeline #11473 passed with stages
in 4 minutes and 37 seconds
module caddy
go 1.12
require (
github.com/caddyserver/dnsproviders v0.2.0
github.com/captncraig/cors v0.0.0-20190326022215-48080ede89fe
github.com/mholt/caddy v1.0.0
)
replace github.com/h2non/gock => gopkg.in/h2non/gock.v1 v1.0.14
This diff is collapsed.
......@@ -6,8 +6,6 @@ echo "Building ${VERSION}"
export GO111MODULE=on
go mod init caddy
go get github.com/mholt/caddy@v${VERSION}
go build
......@@ -17,4 +15,5 @@ mkdir -p bin && mv caddy bin/caddy
if [ -n "${RELEASE}" ]; then cp bin/caddy bin/caddy-${VERSION}; fi
bin/caddy -version
bin/caddy -plugins
\ No newline at end of file
bin/caddy -plugins
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment