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

Cross-platform command to install dependencies #2509

Open
mgeisler opened this issue Dec 11, 2024 · 0 comments
Open

Cross-platform command to install dependencies #2509

mgeisler opened this issue Dec 11, 2024 · 0 comments

Comments

@mgeisler
Copy link
Collaborator

mgeisler commented Dec 11, 2024

We should do something very simple to make Dustin's cargo xtask install-deps work. It could be as simple as a

fn main() -> Result<(), Box<dyn std::error::Error>> {
  Command::new(env!("CARGO")).arg("install").arg("mdbook").status()?;
  Command::new(env!("CARGO")).arg("install").arg("mdbook-i18n-helpers").status()?;
}

Put that in a new workspace member, hook up the Cargo alias and we should be in business 😄 To show that it works, make the GitHub CI code that install the dependencies use the new task.

Originally posted by @mgeisler in #2469 (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