Skip to content

Commit 5747422

Browse files
authored
Sort targets in documentation. Fixes #1524.
Should be a simple but effective fix for #1524. Assume `sort` command is available.
1 parent 6dae870 commit 5747422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/dox.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cargo +nightly install cargo-xbuild -Z install-upgrade
2525
# shellcheck disable=SC1003
2626
grep '[\d|\w|-]* \\' ci/build.sh > targets
2727
sed -i.bak 's/ \\//g' targets
28-
grep '^[_a-zA-Z0-9-]*$' targets > tmp && mv tmp targets
28+
grep '^[_a-zA-Z0-9-]*$' targets | sort > tmp && mv tmp targets
2929

3030
# Create a markdown list of supported platforms in $PLATFORM_SUPPORT
3131
rm $PLATFORM_SUPPORT || true

0 commit comments

Comments
 (0)