mirror of
https://github.com/axodotdev/cargo-dist.git
synced 2025-02-17 01:02:02 +08:00
45 lines
1.6 KiB
TOML
45 lines
1.6 KiB
TOML
[workspace]
|
|
members = ["cargo:."]
|
|
|
|
# Config for 'dist'
|
|
[dist]
|
|
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
|
|
cargo-dist-version = "0.27.1"
|
|
# CI backends to support
|
|
ci = "github"
|
|
# The installers to generate for each app
|
|
installers = ["shell", "powershell", "npm", "homebrew"]
|
|
# A GitHub repo to push Homebrew formulas to
|
|
tap = "axodotdev/homebrew-tap"
|
|
# A namespace to use when publishing this package to the npm registry
|
|
npm-scope = "@axodotdev"
|
|
# Publish jobs to run in CI
|
|
publish-jobs = ["homebrew", "npm", "./publish-crates"]
|
|
# Target platforms to build apps for (Rust target-triple syntax)
|
|
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
|
|
# Which actions to run on pull requests
|
|
pr-run-mode = "plan"
|
|
# Where to host releases
|
|
hosting = ["axodotdev", "github"]
|
|
# Whether to install an updater program
|
|
install-updater = false
|
|
# Whether to enable GitHub Attestations
|
|
github-attestations = true
|
|
# Path that installers should place binaries in
|
|
install-path = "CARGO_HOME"
|
|
|
|
[[dist.extra-artifacts]]
|
|
artifacts = ["dist-manifest-schema.json"]
|
|
build = ["cargo", "run", "--release", "--", "dist", "manifest-schema", "--output=dist-manifest-schema.json"]
|
|
|
|
[dist.bin-aliases]
|
|
"dist" = ["cargo-dist"]
|
|
|
|
[dist.github-custom-runners.aarch64-unknown-linux-gnu.container]
|
|
image = "quay.io/pypa/manylinux_2_28_x86_64"
|
|
host = "x86_64-unknown-linux-musl"
|
|
|
|
[dist.github-custom-runners.aarch64-unknown-linux-musl.container]
|
|
image = "quay.io/pypa/manylinux_2_28_x86_64"
|
|
host = "x86_64-unknown-linux-musl"
|