Open tyeeman opened 6 years ago
I am not sure if the path joins would work, but it would be nice if you try and you let us know. However, you can build it online: http://agonzalezro.github.io/how-to-automagically-generate-your-polo-blog-with-circleci.html
OK, just tried "go get github.com/agonzalezro/polo" and got this response -
package github.com/agonzalezro/polo: no Go files in C:\goWorkspace\src\github.com\agonzalezro\polo
Any way to add a "go" file in your root folder to make this work?
You will need more than just a go get
, try this on your computer:
# clone it
$ cd polo
$ glide install # This will install dependencies
$ cd cmd/polo
$ go generate # This will transform the templates to Go code
$ go build
After those steps you will have a binary for Windows that may (or may not) work because of the problem I mentioned before about how the paths are joint.
Thanks for your help!
BTW, have you tried to use it with Docker? The steps are on the README.md
.
I noticed glide has been superseded by dep -
Golang Dep
The Go community now has the dep project to manage dependencies. Please consider trying to migrate from Glide to dep. If there is an issue preventing you from migrating please file an issue with dep so the problem can be corrected. Glide will continue to be supported for some time but is considered to be in a state of support rather than active feature development.
Should I use dep instead of glide?
FYI, netlify also works similar to CircleCI!
Do you have the template for http://k8s.uk/
There is certain discussion about vendoring in Go so I will not migrate from glide yet. There are other options as https://github.com/golang/go/wiki/Modules. Let's wait for the waters to calm :) and glide just works fine for what we need
If I go get, will a windows binary be created and then I can use that on Windows to build my blog?