Skip to content

Commit

Permalink
packaging-changes.md, package.yml.md: Note rust macros
Browse files Browse the repository at this point in the history
- Add Rust macros to the packaging-changes page
- Complete punctuation on Rust table in package.yml
  • Loading branch information
davidjharder committed May 18, 2024
1 parent e70feba commit ad7c3e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/packaging/package.yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ Existing Haskell packages may use the old `cabal_build`, `cabal_install`, `cabal
| ------------------ | -------------------------------------------------------------------------------- |
| **%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 |
| **%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

Expand Down
5 changes: 5 additions & 0 deletions docs/packaging/packaging-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ This page is meant to serve as a changelog of sorts for the Solus packaging envi

### May

#### Add Rust macros to package.yml

- We now have macros for building Rust packages. Example: `%cargo_build`. Rust packages should be switched to use the new macros as they are updated.
- See the "Rust (cargo) actionable macros" section on the [package.yml page](/docs/packaging/package.yml#rust-cargo-actionable-macros).

#### Add guidance for SourceForge sources in package.yml

- We now require SourceForge sources used in `package.yml` files to follow a specific format.
Expand Down

0 comments on commit ad7c3e0

Please sign in to comment.