lfs-test-server icon indicating copy to clipboard operation
lfs-test-server copied to clipboard

go install does not work

Open Timmmm opened this issue 4 years ago • 5 comments

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.

Timmmm avatar Jan 18 '21 16:01 Timmmm

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.

chrisd8088 avatar Jan 19 '21 03:01 chrisd8088

4635135

Qasim1234567890 avatar Jan 08 '22 04:01 Qasim1234567890

4635135

Qasim1234567890 avatar Jan 08 '22 04:01 Qasim1234567890

#97

Qasim1234567890 avatar Jan 08 '22 04:01 Qasim1234567890