Skip to content

Commit

Permalink
docs: use release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula committed Oct 5, 2023
1 parent e7dabe9 commit dff8dab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ cargo install cargo-packager --locked

```toml
[package.metadata.packager]
enabled = true
before-packaging-command = "cargo build"
before-packaging-command = "cargo build --release"
```

2. Run the CLI

```sh
cargo packager
cargo packager --release
```

### Supported pacakges
Expand Down
5 changes: 2 additions & 3 deletions crates/packager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ cargo install cargo-packager --locked

```toml
[package.metadata.packager]
enabled = true
before-packaging-command = "cargo build"
before-packaging-command = "cargo build --release"
```

2. Run the CLI

```sh
cargo packager
cargo packager --release
```

### Supported pacakges
Expand Down
5 changes: 2 additions & 3 deletions crates/packager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
//!
//! ```toml
//! [package.metadata.packager]
//! enabled = true
//! before-packaging-command = "cargo build"
//! before-packaging-command = "cargo build --release"
//! ```
//!
//! 2. Run the CLI
//!
//! ```sh
//! cargo packager
//! cargo packager --release
//! ```
//!
//! ### Supported pacakges
Expand Down

0 comments on commit dff8dab

Please sign in to comment.