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:
|
2017-01-14 11:15:12 +00:00
|
|
|
- tip
|
2017-01-14 11:11:24 +00:00
|
|
|
|
2015-09-27 08:43:36 +00:00
|
|
|
install:
|
2017-01-14 11:15:12 +00:00
|
|
|
- go generate
|
|
|
|
- go get $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) || true
|
|
|
|
- go get github.com/mholt/caddy/caddyhttp
|
|
|
|
- go get github.com/caddyserver/caddydev
|
2017-01-14 11:17:35 +00:00
|
|
|
- cd $GOPATH/src/github.com/hacdias/caddy-filemanager && go generate
|
2017-01-14 11:11:24 +00:00
|
|
|
|
2016-08-10 09:20:32 +00:00
|
|
|
script:
|
2017-01-14 11:15:12 +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
|
|
|
|
- go build github.com/mholt/caddy/caddy
|