-
-
Notifications
You must be signed in to change notification settings - Fork 227
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
35 lines (34 loc) · 1.51 KB
/
dist-workspace.toml
File metadata and controls
35 lines (34 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.30.2"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["npm", "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"
# Whether to install an updater program
install-updater = false
# Extra static files to include in each App (path relative to this Cargo.toml's dir)
include = ["plugins/"]
# A namespace to use when publishing this package to the npm registry
npm-scope = "@fresh-editor"
# Global artifacts jobs to run in CI
global-artifacts-jobs = ["./linux-packages"]
# Local artifacts jobs to run in CI
local-artifacts-jobs = ["./musl-builds"]
# A GitHub repo to push Homebrew formulas to
tap = "sinelaw/homebrew-fresh"
# Publish jobs to run in CI
publish-jobs = ["homebrew", "./npm-publish"]
# Custom permissions for npm-publish job (adds contents: read to the default id-token: write, packages: write)
github-custom-job-permissions = { "npm-publish" = { id-token = "write", contents = "read" } }
# Enable GitHub attestations (also adds id-token: write permission needed for npm OIDC)
github-attestations = true
# Post-announce jobs to run in CI
post-announce-jobs = ["./aur-publish", "./cargo-publish"]