Skip to content

Commit

Permalink
Update cargo dist
Browse files Browse the repository at this point in the history
  • Loading branch information
FlareFlo committed Dec 26, 2024
1 parent b9d509c commit e5d542e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,3 @@ const_format = { version = "0.2.31", default-features = false, features = ["fmt"
zip = { version = "2.1.6", features = ["deflate"], default-features = false }
wt_version = { git = "https://github.com/Warthunder-Open-Source-Foundation/wt_version.git" }
atty = "0.2.14"

# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.21.0"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Which actions to run on pull requests
pr-run-mode = "skip"
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = true
allow-dirty = ["ci"]
21 changes: 21 additions & 0 deletions dist-workspace.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[workspace]
members = ["cargo:."]

# Config for 'cargo dist'
[dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.23.0"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "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 = "skip"
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = true
# Skip checking whether the specified configuration files are up to date
allow-dirty = ["ci"]

0 comments on commit e5d542e

Please sign in to comment.