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: allows setting a working dir #196

Open
cristianoliveira opened this issue Jul 26, 2024 · 1 comment
Open

feat: allows setting a working dir #196

cristianoliveira opened this issue Jul 26, 2024 · 1 comment
Labels
feature A feature idea or request

Comments

@cristianoliveira
Copy link
Owner

This is a need that I feel everytime I need to work with monorepos, sometimes adapting the scripts to run from the root folder takes longer than just running funzzy inside of each project

 - name: setup install
  workdir: ./myapp/ # This would be similar to `cd ./myapp/ && npm install`
  run: npm install
  run_on_init: true
  change: package.json
@cristianoliveira
Copy link
Owner Author

NOTE: Check how we change dir before running fzz in the tests, maybe that's the way to go

std::env::set_current_dir("examples/workdir/ignored").expect("failed to change dir");

@cristianoliveira cristianoliveira added the feature A feature idea or request label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A feature idea or request
Projects
None yet
Development

No branches or pull requests

1 participant