2022-03-02 20:27:02 +11:00
|
|
|
# NIH-plug: cargo subcommand for bundling plugins
|
|
|
|
|
|
|
|
This is NIH-plug's `cargo xtask` command, as a `cargo` subcommand. This way you
|
|
|
|
can use it outside of NIH-plug projects. If you're using NIH-plug, you'll want
|
|
|
|
to use the xtask integration directly instead, see:
|
|
|
|
<https://github.com/robbert-vdh/nih-plug/tree/master/nih_plug_xtask>.
|
|
|
|
|
|
|
|
Since this has not yet been published to `crates.io`, you'll need to install
|
|
|
|
this using:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
cargo install --git https://github.com/robbert-vdh/nih-plug.git cargo-nih-plug
|
|
|
|
```
|
2022-03-02 20:29:42 +11:00
|
|
|
|
|
|
|
Once that's installed, you can bundle plugins using:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
cargo nih-plug bundle <package_name> --release
|
|
|
|
```
|