qri-io / walk

Webcrawler/sitemapper
GNU General Public License v3.0
6 stars 2 forks source link

Ensure GOPATH and reduce repeated commands #26

Closed Mr0grog closed 5 years ago

Mr0grog commented 5 years ago

I noticed we added an install target that repeats code from the install-deps target, so this uses a dependency to clean that up. While doing so, I also realized that a) we had a require-gopath target we didn't use and that b) it didn't work properly. It turns out you can't use control directives like this inside a target (among the many reasons I find make confusing as all get-out), but that's OK since we should probably always be ensuring GOPATH is set.

b5 commented 5 years ago

solid branch name @Mr0grog