cargo-run-script icon indicating copy to clipboard operation
cargo-run-script copied to clipboard

Add possibility to run workspace wide scripts

Open manu0466 opened this issue 2 years ago • 1 comments

This PR implements the possibility to define scripts inside a Cargo.toml file of a workspace. The syntax is similar as the one of a package. Here an example of Cargo.toml of a workspace that defines a script called hello

[workspace]
members = [
    "memmber1",
    "member2",
    ....
]

# Scripts
[workspace.metadata.scripts]
hello = "echo Hello"

manu0466 avatar Sep 09 '22 08:09 manu0466

Thanks for including the example of this in the PR description. Could you also update the README?

JoshMcguigan avatar Oct 02 '22 17:10 JoshMcguigan

@JoshMcguigan, can you merge this and create a new release? Thanks!

maurolacy avatar Jan 29 '24 09:01 maurolacy

@JoshMcguigan are you there?

maurolacy avatar Jan 31 '24 07:01 maurolacy

Thanks @manu0466 for the contribution and @maurolacy for the review and ping!

I've published this as version 0.2.0.

JoshMcguigan avatar Feb 02 '24 04:02 JoshMcguigan