john-slop/scripts/package-workspace.sh

11 lines
383 B
Bash
Executable File

#!/bin/sh
set -eu
repository_dir=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
cd "$repository_dir"
# Cargo packages workspace members in dependency order. Verification is useful
# after the matching core/LSP versions exist in the registry; pre-publication CI
# passes --no-verify because registry-form path dependencies are not live yet.
cargo package --locked --workspace "$@"