swc/scripts/github/get-all-crates.sh
강동윤 6a1c3da326
fix(bundler): Fix bugs (#1346)
swc_bundler:
 - Fix keywords pass.

swc_ecma_transforms_optimization:
 - Remove `dbg!`.
 - `constant_propagation`: Inline only injected variables.
2021-01-22 18:39:57 +09:00

11 lines
214 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
function prepend() { while read line; do echo "${1}${line}"; done; }
cargo metadata --format-version 1 \
| jq -r '.workspace_members[]' \
| cut -f1 -d" " \
| sort \
| prepend '- '