-
Notifications
You must be signed in to change notification settings - Fork 255
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
Standalone exe #5794
Standalone exe #5794
Conversation
All changed packages have been documented.
Show changes
|
You can try these changes here
|
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.
Leaving some super minor comments while reviewing - need to wrap my head around the signing stuff - but did confirm it works on windows at least!
Co-authored-by: Christopher Radek <[email protected]>
…into standalone-exe
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.
!
fix microsoft#5800 Adds a standalone executable. The way it works is by downloading the latest compiler and running that. This is right now the easiest option as it quite a pain to bundle the package managers. It comes with 2 command line installer - install.sh: install on linux/macos - powershell.ps1 (install on windows) This right now doesn't work because the latest compiler doesn't have a dependency on npm lib and expect to find a local `npm` exe which might not be available if you did only install TypeSpec. SO we need to wait next release to document it There is quite a few follow up to work on 1. Add docs (After next release) 2. Include the install script in the website/better url for one liner(e.g. `curl -fsSL https://typespec.io/install.sh | bash `) 3. Investigate more if we can bundle the cli (without the compiler) and get rid of this installation step. --------- Co-authored-by: Christopher Radek <[email protected]>
fix #5800
Adds a standalone executable. The way it works is by downloading the latest compiler and running that.
This is right now the easiest option as it quite a pain to bundle the package managers.
It comes with 2 command line installer
This right now doesn't work because the latest compiler doesn't have a dependency on npm lib and expect to find a local
npm
exe which might not be available if you did only install TypeSpec. SO we need to wait next release to document itThere is quite a few follow up to work on
curl -fsSL https://typespec.io/install.sh | bash
)