From c3b17d1464eb2d993b2b66b4c9f2a422269f078f Mon Sep 17 00:00:00 2001 From: David Harder Date: Thu, 16 May 2024 08:37:40 -0500 Subject: [PATCH] package.yml.md: Add Rust (cargo) macros (#539) Resolves https://github.com/getsolus/help-center-docs/issues/537 --- docs/packaging/package.yml.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/packaging/package.yml.md b/docs/packaging/package.yml.md index ac87011f4..0ad772a31 100644 --- a/docs/packaging/package.yml.md +++ b/docs/packaging/package.yml.md @@ -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 |