summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-17 09:10:14 +0000
committerbors <bors@rust-lang.org>2019-10-17 09:10:14 +0000
commitbc5c15efd06c72802c5d9d3499842147d5e823bc (patch)
tree24e85a14e3467ef0120e2c40e71d3613c3d3aab6
parent6dae870ecd0593b7e05908074bf647609625b8ae (diff)
parent5747422855ce3b12490007377322747e8f6421aa (diff)
downloadrust-libc-bc5c15efd06c72802c5d9d3499842147d5e823bc.tar.gz
Auto merge of #1556 - senden9:patch-1, r=gnzlbg
Sort targets in documentation. Fixes #1524. Should be a simple but effective fix for #1524. Assume `sort` command is available.
-rw-r--r--ci/dox.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/dox.sh b/ci/dox.sh
index febe18b35b..0c89a2e17b 100644
--- a/ci/dox.sh
+++ b/ci/dox.sh
@@ -25,7 +25,7 @@ cargo +nightly install cargo-xbuild -Z install-upgrade
# shellcheck disable=SC1003
grep '[\d|\w|-]* \\' ci/build.sh > targets
sed -i.bak 's/ \\//g' targets
-grep '^[_a-zA-Z0-9-]*$' targets > tmp && mv tmp targets
+grep '^[_a-zA-Z0-9-]*$' targets | sort > tmp && mv tmp targets
# Create a markdown list of supported platforms in $PLATFORM_SUPPORT
rm $PLATFORM_SUPPORT || true