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

twoliter: refactor repetitive setup code #259

Open
webern opened this issue May 31, 2024 · 0 comments
Open

twoliter: refactor repetitive setup code #259

webern opened this issue May 31, 2024 · 0 comments

Comments

@webern
Copy link
Contributor

webern commented May 31, 2024

We are doing this too many times:

        let project = project::load_or_find_project(self.project_path.clone()).await?;
        let toolsdir = project.project_dir().join("build/tools");
        install_tools(&toolsdir).await?;

@webern can you suggest a way to factor out the load_or_find_project and install_tools logic so we don't need to repeat for every command?

Originally posted by @bcressey in #230 (comment)

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