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

Add EnsurePackageWith/InstallPackageWith #27

Merged
merged 1 commit into from Jul 18, 2022
Merged

Conversation

carolynvs
Copy link
Owner

EnsurePackageWith replaces EnsurePackage, which is now marked as
deprecated. Same for InstallPackage.

The With variation accepts an options struct so that we can
add functionality without modifying the function signature.
You can now specify a destination directory instead of installing into
GOPATH/bin. This is useful for installing build/dev tools into ./bin and
not messing with the system installation on dev machines.

EnsurePackageWith replaces EnsurePackage, which is now marked as
deprecated. Same for InstallPackage.

The With variation accepts an options struct so that we can
add functionality without modifying the function signature.
You can now specify a destination directory instead of installing into
GOPATH/bin. This is useful for installing build/dev tools into ./bin and
not messing with the system installation on dev machines.

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
@carolynvs carolynvs marked this pull request as ready for review July 18, 2022 13:20
@carolynvs carolynvs merged commit eb350f0 into main Jul 18, 2022
@carolynvs carolynvs deleted the install-to-directory branch July 18, 2022 13:21
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

Successfully merging this pull request may close these issues.

None yet

1 participant