mirror of
https://github.com/max-sixty/worktrunk.git
synced 2026-09-14 20:00:38 +08:00
5b9a0a25cf
Add a note in dist-workspace.toml explaining that cargo-dist's shell/powershell installers modify shell config files to add PATH entries, which can cause "Permission denied" errors on non-standard setups. Documents the WORKTRUNK_NO_MODIFY_PATH=1 workaround. Closes #590 Co-authored-by: Claude <noreply@anthropic.com>
34 lines
1.5 KiB
TOML
34 lines
1.5 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.30.2"
|
|
# CI backends to support
|
|
ci = "github"
|
|
# The installers to generate for each app
|
|
# Note: The shell/powershell scripts attempt to add the install directory to PATH by
|
|
# modifying shell config files (.profile, .bashrc, etc.), which can cause "Permission
|
|
# denied" errors on non-standard setups. This is cargo-dist's default behavior and
|
|
# reasonable for most users. Users with custom shell configs can set
|
|
# WORKTRUNK_NO_MODIFY_PATH=1 or use Homebrew/cargo install instead.
|
|
# See: https://github.com/max-sixty/worktrunk/issues/590
|
|
installers = ["shell", "powershell", "homebrew"]
|
|
# Homebrew tap repository
|
|
tap = "max-sixty/homebrew-worktrunk"
|
|
# Homebrew formula name (defaults to package name)
|
|
formula = "wt"
|
|
# Jobs that publish to external services
|
|
publish-jobs = ["homebrew"]
|
|
# Target platforms to build apps for (Rust target-triple syntax)
|
|
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "aarch64-unknown-linux-musl", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
|
|
# Whether to install an updater program
|
|
install-updater = false
|
|
# Allow custom CI modifications (we have custom publish jobs for cargo, winget)
|
|
allow-dirty = ["ci"]
|
|
# Enable git-wt binary in release builds (opt-in for cargo install)
|
|
features = ["git-wt"]
|
|
# Custom success message prompting shell integration
|
|
install-success-msg = "Run 'wt config shell install' for shell integration."
|