diff --git a/.travis.yml b/.travis.yml index b70b876a..c143c7ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ install: - 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 - - cd $GOPATH/src/github.com/hacdias/caddy-filemanager && go generate script: - 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 diff --git a/hugo.go b/hugo.go index b635758a..cf786f56 100644 --- a/hugo.go +++ b/hugo.go @@ -1,5 +1,4 @@ //go:generate go get github.com/jteeuwen/go-bindata -//go:generate go install github.com/jteeuwen/go-bindata/go-bindata //go:generate go-bindata -nomemcopy -pkg hugo -prefix "assets" -o binary.go assets/... // Package hugo makes the bridge between the static website generator Hugo