lfs-test-server
lfs-test-server copied to clipboard
go install does not work
I'm not sure why but:
~ go install github.com/github/lfs-test-server
cannot find package "github.com/github/lfs-test-server" in any of:
/usr/local/Cellar/go/1.15/libexec/src/github.com/github/lfs-test-server (from $GOROOT)
/Users/me/go/src/github.com/github/lfs-test-server (from $GOPATH)
~ go get github.com/github/lfs-test-server
~ go install github.com/github/lfs-test-server
This is on Mac with Go installed from Brew. I reckon just change the readme to do go get followed by go install in every case. The readme currently seems to suggest that go install will download a binary, but I'm pretty sure Go always builds from source. It only takes a second anyway so there's not much reason not to build from source.
I suspect the go install command was intended to be run after checking out this repository, e.g.:
$ git clone https://github.com/git-lfs/lfs-test-server
$ cd lfs-test-server
$ go install github.com/github/lfs-test-server
If you feel like submitting a patch to update the README that would be lovely! Otherwise I will aim to make a small PR in the next while.
4635135
4635135
#97