- 添加 dist-workspace.toml 配置 - 添加 GitHub Actions release.yml 工作流 - 支持 macOS/Linux/Windows 多平台构建 - 支持 shell/powershell/homebrew 安装器 - gewe-cli 添加 homepage 字段
20 lines
681 B
TOML
20 lines
681 B
TOML
[workspace]
|
|
members = ["cargo:."]
|
|
|
|
# Config for 'dist'
|
|
[dist]
|
|
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
|
|
cargo-dist-version = "0.30.3"
|
|
# CI backends to support
|
|
ci = "github"
|
|
# The installers to generate for each app
|
|
installers = ["shell", "powershell", "homebrew"]
|
|
# Target platforms to build apps for (Rust target-triple syntax)
|
|
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
|
|
# Path that installers should place binaries in
|
|
install-path = "CARGO_HOME"
|
|
# Where to host releases
|
|
hosting = "github"
|
|
# Whether to install an updater program
|
|
install-updater = false
|