mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
16 lines
337 B
Bash
Executable File
16 lines
337 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
crates=$(\
|
|
cargo metadata --format-version 1 \
|
|
| jq -r '.workspace_members[]' \
|
|
| cut -f1 -d" " \
|
|
| sort \
|
|
)
|
|
|
|
for crate in $crates
|
|
do
|
|
cargo publish -p $crate --dry-run --no-verify -v || true
|
|
done |