skroutz / mistry

General-purpose build server
https://engineering.skroutz.gr/blog/speeding-up-build-pipelines-with-mistry/
GNU General Public License v3.0
105 stars 8 forks source link

cannot find package "github.com/skroutz/mistry/cmd/mistryd/statik" #123

Closed jason-rutherford closed 5 years ago

jason-rutherford commented 5 years ago

I'm interesting in trying mistry. Thanks for sharing. I'm not familiar with go but when I try to go get -u github.com/skroutz/mistry/cmd/mistryd or go build mistryd I get this error:

cannot find package "github.com/skroutz/mistry/cmd/mistryd/statik" in any of:
    /usr/local/opt/go/libexec/src/github.com/skroutz/mistry/cmd/mistryd/statik (from $GOROOT)
    /Users/jrutherford/golang/src/github.com/skroutz/mistry/cmd/mistryd/statik (from $GOPATH)

Am I missing something?

agis commented 5 years ago

statik is a build-time dependency, so it needs to be installed first:

$ go get github.com/rakyll/statik

That should do it.

P.S. we should probably mention this in the README.

agis commented 5 years ago

@jason-rutherford I'm going to go ahead and close this. Feel free to comment in this issue or re-open a new one if it's not resolved by my suggestion.