Skip to content

Commit

Permalink
package.yml.md: Add Rust (cargo) macros (#539)
Browse files Browse the repository at this point in the history
Resolves #537
  • Loading branch information
davidjharder authored May 16, 2024
1 parent c688d3f commit c3b17d1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/packaging/package.yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,15 @@ Existing Haskell packages may use the old `cabal_build`, `cabal_install`, `cabal
| **%gem_build** | Runs `gem build`. |
| **%gem_install** | Runs `gem install` with the appropriate parameters. |

### Rust (cargo) actionable macros

| Macro | Description |
| ------------------ | -------------------------------------------------------------------------------- |
| **%cargo_fetch** | Runs `cargo fetch --locked` to get dependencies. |
| **%cargo_build** | Runs `cargo build` with some additional flags. |
| **%cargo_install** | Installs the built binary to `/usr/bin/PACKAGE-NAME`, OR to `/usr/bin/ARGUMENT ` |
| **%cargo_test** | Runs `cargo test` with some additional flags |

### Qt actionable macros

| Macro | Description |
Expand Down

0 comments on commit c3b17d1

Please sign in to comment.