You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

dist-workspace.toml 1.3 kB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [workspace]
  2. members = ["cargo:binaries/cli"]
  3. # Config for 'dist'
  4. [dist]
  5. # The preferred dist version to use in CI (Cargo.toml SemVer syntax)
  6. cargo-dist-version = "0.28.0"
  7. # CI backends to support
  8. ci = "github"
  9. # The installers to generate for each app
  10. installers = ["shell", "powershell"]
  11. # Target platforms to build apps for (Rust target-triple syntax)
  12. targets = [
  13. "aarch64-apple-darwin",
  14. "aarch64-unknown-linux-gnu",
  15. "x86_64-apple-darwin",
  16. "x86_64-unknown-linux-gnu",
  17. "x86_64-pc-windows-msvc",
  18. ]
  19. # Path that installers should place binaries in
  20. install-path = "~/.dora/bin"
  21. # Whether to install an updater program
  22. install-updater = false
  23. # Build only the required packages, and individually
  24. precise-builds = true
  25. # Whether to consider the binaries in a package for distribution (defaults true)
  26. dist = false
  27. # Whether dist should create a Github Release or use an existing draft
  28. create-release = false
  29. # The archive format to use for non-windows builds (defaults .tar.xz)
  30. unix-archive = ".tar.gz"
  31. # Skip checking whether the specified configuration files are up to date
  32. allow-dirty = ["ci"]
  33. [dist.github-custom-runners]
  34. x86_64-pc-windows-msvc = "windows-2022"
  35. x86_64-unknown-linux-gnu = "ubuntu-22.04"
  36. aarch64-unknown-linux-gnu = "ubuntu-22.04"
  37. global = "ubuntu-22.04"
  38. [dist.bin-aliases]
  39. dora-cli = ["dora"]