Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Dec 1, 2024
1 parent ad518de commit 97fdef7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,12 @@ jobs:
run: |
set -e
md="$(cargo metadata --format-version=1 | jq '.packages[] | select(.name=="tui-textarea") | .metadata.docs.rs')"
export RUSTDOCFLAGS="$(echo "$md" | jq -r '.["rustdoc-args"] | join(" ")') -D warnings"
rustdoc_args=($(echo "$md" | jq -r '.["rustdoc-args"] | join(" ")') -D warnings)
features="$(echo "$md" | jq -r '.features | join(",")')"
set -x
for target in $(echo "$md" | jq -r '.targets | join(" ")')
do
rustup target add "$target"
cargo doc -p tui-textarea "--features=$features" "--target=$target"
cargo rustdoc -p tui-textarea "--features=$features" "--target=$target" -- "${rustdoc_args[@]}"
done

0 comments on commit 97fdef7

Please sign in to comment.