Files
diodeinc__pcb/dist-workspace.toml
Lenny Khazan eeb9e323b6 fix: exclude aarch64-unknown-linux-gnu and add VSCode extension to cargo-dist (#43)
- Remove aarch64-unknown-linux-gnu target from the build matrix to fix
  build failures in the release workflow
- Add VSCode extension as an extra artifact that gets built and
  distributed with releases
- Set up Node.js in GitHub Actions workflow for building the extension

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-22 15:22:04 -04:00

33 lines
1.3 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.28.1-prerelease.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "npm", "homebrew", "msi"]
# A GitHub repo to push Homebrew formulas to
tap = "diodeinc/homebrew-pcb"
# 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"]
# A namespace to use when publishing this package to the npm registry
npm-scope = "@diode"
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
# Whether to install an updater program
install-updater = true
# Which actions to run on pull requests
pr-run-mode = "skip"
# GitHub build setup for Node.js
github-build-setup = "build-setup.yml"
# Extra artifacts to build and include
[[dist.extra-artifacts]]
artifacts = ["zener-vscode-extension.vsix"]
build = ["bash", "-c", "cd vscode && npm install && cd client && npm install && cd ../preview && npm install && cd .. && npm run compile && npx --yes vsce package && mv zener-*.vsix ../zener-vscode-extension.vsix"]