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

feat(lua): When possible, use Quarto Lua API from Quarto 1.5.32+ to get the path to quarto #51

Merged
merged 2 commits into from
May 14, 2024

Conversation

cderv
Copy link
Contributor

@cderv cderv commented May 3, 2024

Otherwise, this extension fails to call quarto run on environment where quarto is not in the PATH. Though, even if in the PATH, it could be calling another quarto CLI that the one used to run the extension

closes #50

@schloerke

this is a companion to

and should be merged only after, and when Quarto 1.5 will be out. Hence the draft PR.

There is also a way to have another fix for #50 by directly handling this specific CLI path resolution so that it works also with older versions

… the Quarto CLI executable.

Otherwise, this extension fails to call `quarto run` on environment where `quarto` is not in the PATH. Though, even if in the PATH, it could be calling another quarto CLI that the one used to run the extension
@schloerke schloerke changed the title Use Quarto Lua API from Quarto 1.5.32+ to get the path to quarto feat: When possible, use Quarto Lua API from Quarto 1.5.32+ to get the path to quarto May 14, 2024
@schloerke schloerke marked this pull request as ready for review May 14, 2024 13:10
@schloerke schloerke changed the title feat: When possible, use Quarto Lua API from Quarto 1.5.32+ to get the path to quarto feat(lua): When possible, use Quarto Lua API from Quarto 1.5.32+ to get the path to quarto May 14, 2024
@schloerke schloerke merged commit 7f0b6b7 into main May 14, 2024
2 checks passed
@schloerke schloerke deleted the quarto-path branch May 14, 2024 13:11
@schloerke
Copy link
Collaborator

Tagged in v0.2.0!

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.

Using extension on environment where quarto is not on PATH
2 participants