-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add uninstall script #75
Comments
From what i understand in the near future joy will simply reside in the GOPATH along with its dependencies. So you can delete it from there like any other go program / package. |
The script says it installs itself here: |
yes what you say is true thats the place where it gets installed when you use the install script. when you install it like this (which is the default go way): go get github.com/matthewmueller/joy/cmd/joy It gets installed into the GOPATH which is the place where go packages are installed GOPATH/src for sourcecode GOROOT is where the language go itself is installed If you didn't define a GOPATH yourselves from go 1.8 on it is being set to the |
thanks closing |
Will reopen because there will need to be some state elsewhere. I've tried just keeping all the state inside I agree with this and will accept a PR to make this easier. Let me just finalize the location of this extra state before this work gets started. I've been toying with either having this extra state in More information here: Line 148 in 4e548d8
For clarity there will be two things that need to be uninstalled:
|
i read up a bit about go tools that allow for vendoring 3rd party stuff. i came across https://github.com/Masterminds/glide which is up to the task. The official dependency management tool https://github.com/golang/dep is not up to the task yet since it cannot handle non go dependencies that don't have go source files. But they are actively working on that feature. See golang/dep#1306 This issue thread is particularly interesting since at the start of the thread you see an example of a glide YAML configuration file for vendoring external depencencies. This is also related to issue #72 |
It would be good to an uninstall script.
As the install script is generated, I am assuming the uninstall could also be generated, if not I could submit PR.
Thanks
The text was updated successfully, but these errors were encountered: