|
1 | 1 | [workspace] |
2 | 2 | members = ["cargo:."] |
3 | 3 |
|
| 4 | +# Config for 'dist' |
4 | 5 | [dist] |
| 6 | +# The archive format to use for windows builds (defaults .zip) |
5 | 7 | windows-archive = ".zip" |
| 8 | +# Whether failing tasks should make us give up on all other tasks |
6 | 9 | fail-fast = true |
| 10 | +# Whether to enable GitHub Attestations |
7 | 11 | github-attestations = true |
| 12 | +# Global artifacts jobs to run in CI |
8 | 13 | global-artifacts-jobs = ["./build-man"] |
9 | | -# github-build-setup = "build-setup.yml" |
10 | | -cargo-dist-version = "0.28.4" |
11 | | -# pr-run-mode = "upload" |
| 14 | +# The preferred dist version to use in CI (Cargo.toml SemVer syntax) |
| 15 | +cargo-dist-version = "0.30.2" |
| 16 | +# Which actions to run on pull requests |
12 | 17 | pr-run-mode = "plan" |
| 18 | +# CI backends to support |
13 | 19 | ci = "github" |
14 | | -installers = [ |
15 | | - "shell", |
16 | | - # "homebrew", |
17 | | - "powershell", |
18 | | -] |
19 | | -# tap = "elkowar/homebrew-tap" |
20 | | -# publish-jobs = ["homebrew"] |
| 20 | +# The installers to generate for each app |
| 21 | +installers = ["shell", "powershell"] |
| 22 | +# Customize the Homebrew formula name |
21 | 23 | formula = "yolk" |
22 | | -targets = [ |
23 | | - # "aarch64-apple-darwin", |
24 | | - "x86_64-apple-darwin", |
25 | | - "x86_64-unknown-linux-gnu", |
26 | | - "x86_64-pc-windows-msvc", |
27 | | - "x86_64-unknown-linux-musl", |
28 | | -] |
| 24 | +# Target platforms to build apps for (Rust target-triple syntax) |
| 25 | +targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"] |
| 26 | +# Path that installers should place binaries in |
29 | 27 | install-path = "CARGO_HOME" |
| 28 | +# Whether to install an updater program |
30 | 29 | install-updater = false |
31 | | - |
32 | | -# include = ["yolk.man"] |
33 | | - |
| 30 | +# Skip checking whether the specified configuration files are up to date |
34 | 31 | allow-dirty = ["ci"] |
35 | 32 |
|
36 | 33 | [dist.github-custom-runners] |
|
0 commit comments