Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go install does not work #98

Open
Timmmm opened this issue Jan 18, 2021 · 4 comments
Open

go install does not work #98

Timmmm opened this issue Jan 18, 2021 · 4 comments

Comments

@Timmmm
Copy link

Timmmm commented Jan 18, 2021

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.

@chrisd8088
Copy link
Member

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.

@Qasim1234567890
Copy link

4635135

1 similar comment
@Qasim1234567890
Copy link

4635135

@Qasim1234567890
Copy link

#97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants