8000 When running roast in a subdirectory, walk up the tree to find `.roast` · Issue #20 · Shopify/roast · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

When running roast in a subdirectory, walk up the tree to find .roast #20

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

Open
parruda opened this issue May 12, 2025 · 0 comments
Open

Comments

@parruda
Copy link
Contributor
parruda commented May 12, 2025

I wanted to run a workflow inside a subdirectory of my repo. The workflow was defined in the root of the repo: workflows/some_workflow/workflow.yml. Then from inside a subdirectory I tried:

roast execute ../../workflows/some_workflow/workflow.yml

And it was failing to recognize the code I have in .roast/initializers/foo.rb. I later realized that roast expects the .roast folder to be at the same directory where the command is run. If we want to keep that expectation, we could provide a way to override with --roast-dir ....

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

No branches or pull requests

1 participant
0