diff --git a/README.md b/README.md index 4538f919..e91ea6d9 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ cargo install cargo-packager --locked ```toml [package.metadata.packager] enabled = true + before-packaging-command = "cargo build" ``` 2. Run the CLI diff --git a/crates/packager/README.md b/crates/packager/README.md index 9bc1303f..1080dbcb 100644 --- a/crates/packager/README.md +++ b/crates/packager/README.md @@ -16,6 +16,7 @@ cargo install cargo-packager --locked ```toml [package.metadata.packager] enabled = true + before-packaging-command = "cargo build" ``` 2. Run the CLI diff --git a/crates/packager/src/lib.rs b/crates/packager/src/lib.rs index 56828232..692f4873 100644 --- a/crates/packager/src/lib.rs +++ b/crates/packager/src/lib.rs @@ -20,6 +20,7 @@ //! ```toml //! [package.metadata.packager] //! enabled = true +//! before-packaging-command = "cargo build" //! ``` //! //! 2. Run the CLI