pull/60/merge
Henrique Dias 2017-04-23 15:44:29 +01:00
parent 3877b7cf90
commit 046da0bcb9
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
2 changed files with 2 additions and 16 deletions

View File

@ -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
before_script:
- ./before_script.sh
script: 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

View File

@ -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