mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
pre hook
This commit is contained in:
parent
e3416a6181
commit
35cc2f342b
@ -8,7 +8,6 @@ install:
|
|||||||
- go get $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) || true
|
- 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/mholt/caddy/caddyhttp
|
||||||
- go get github.com/caddyserver/caddydev
|
- go get github.com/caddyserver/caddydev
|
||||||
- cd $GOPATH/src/github.com/hacdias/caddy-filemanager && go generate
|
|
||||||
|
|
||||||
script:
|
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
|
- 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
|
||||||
|
1
hugo.go
1
hugo.go
@ -1,5 +1,4 @@
|
|||||||
//go:generate go get github.com/jteeuwen/go-bindata
|
//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/...
|
//go:generate go-bindata -nomemcopy -pkg hugo -prefix "assets" -o binary.go assets/...
|
||||||
|
|
||||||
// Package hugo makes the bridge between the static website generator Hugo
|
// Package hugo makes the bridge between the static website generator Hugo
|
||||||
|
Loading…
Reference in New Issue
Block a user