2015-09-27 08:34:10 +00:00
|
|
|
language: go
|
2017-01-14 11:11:24 +00:00
|
|
|
|
2016-02-25 20:07:07 +00:00
|
|
|
go:
|
2016-03-01 19:15:02 +00:00
|
|
|
- tip
|
2017-01-14 11:11:24 +00:00
|
|
|
|
2015-09-27 08:43:36 +00:00
|
|
|
install:
|
2016-08-10 08:57:27 +00:00
|
|
|
- go generate
|
2017-01-14 11:11:24 +00:00
|
|
|
- go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) || true
|
2016-08-10 09:43:59 +00:00
|
|
|
- go get -u -v github.com/mholt/caddy/caddyhttp
|
|
|
|
- go get -u -v github.com/caddyserver/caddydev
|
|
|
|
- go install github.com/caddyserver/caddydev
|
2017-01-14 11:11:24 +00:00
|
|
|
|
2016-08-10 09:20:32 +00:00
|
|
|
script:
|
2016-12-08 16:06:17 +00:00
|
|
|
- sed -i 's/\_ \"github.com\/mholt\/caddy\/caddyhttp\"/\_ \"github.com\/mholt\/caddy\/caddyhttp\"\n\_ \"github.com\/hacdias\/caddy-hugo\"/g' $GOPATH/src/github.com/mholt/caddy/caddy/caddymain/run.go
|
2017-01-14 11:08:27 +00:00
|
|
|
- go build github.com/mholt/caddy/caddy
|