-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Most devs currently don’t pin the CLI because it’s not part of the “happy” path in the setup instructions. Devs that do decide to pin the CLI usually do so by checking it into source control which is not sustainable long term. This change makes pinning the binary part of the happy path of setting up the framework for all package managers by adding a “launcher” to abstract the CLI initialization process. The launcher allows the CLI to be downloaded on-demand from an artifact provider. By default, GitHub’s release artifacts is used, but it’s possible to set the download URL at various levels: - `REPO_URL` for artifacts hosted on a forked GitHub repo - `ARTIFACTS_URL` for versioned artifacts at /<version>/Mockingbird.zip - `ZIP_RELEASE_URL` for artifacts at arbitrary URLs A side effect of the launcher is that it’s now trivial to run against an arbitrary CLI version simply by setting the `MKB_VERSION` env var.
- Loading branch information
1 parent
9266bd7
commit 0646c87
Showing
8 changed files
with
98 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.