mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
back...
This commit is contained in:
parent
3877b7cf90
commit
046da0bcb9
@ -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
|
||||
|
||||
before_script:
|
||||
- ./before_script.sh
|
||||
script:
|
||||
- go build caddy
|
||||
- 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
|
||||
|
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
mkdir $GOPATH/src/caddy
|
||||
touch $GOPATH/src/caddy/main.go
|
||||
|
||||
cat << 'EOF' >> nada.tx
|
||||
package main
|
||||
import "github.com/mholt/caddy/caddy/caddymain"
|
||||
import "github.com/hacdias/caddy-hugo"
|
||||
func main() {
|
||||
caddymain.Run()
|
||||
}
|
||||
EOF
|
Loading…
Reference in New Issue
Block a user