-
Notifications
You must be signed in to change notification settings - Fork 3
Download coursier if missing #104
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
base: main
Are you sure you want to change the base?
Conversation
kubukoz
commented
Oct 1, 2022
- Fetch coursier if missing
- Update instructions
1. Make sure you have [Coursier](https://get-coursier.io/docs/cli-installation) available on the PATH as `cs`, running Java 11 or above | ||
2. Get the extension from [Marketplace](https://marketplace.visualstudio.com/items?itemName=kubukoz.smithy-playground) | ||
3. Create a file, `smithy-build.json`. Example: | ||
<!-- todo: does coursier install a jvm if needed? try it in docker --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
big todo
@@ -18,6 +19,8 @@ export function activate(context: ExtensionContext) { | |||
"smithyql" | |||
); | |||
|
|||
const coursierBinary = await getCoursierExecutable(context.extensionPath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be integration tested
@@ -38,7 +41,7 @@ export function activate(context: ExtensionContext) { | |||
"smithyPlayground", | |||
"Smithy Playground", | |||
{ | |||
command: "cs", | |||
command:coursierBinary, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting