Sort targets in documentation. Fixes #1524.

Should be a simple but effective fix for #1524. Assume `sort` command is available.
This commit is contained in:
Stefano Probst 2019-10-16 20:57:53 +02:00 committed by GitHub
parent 6dae870ecd
commit 5747422855
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ cargo +nightly install cargo-xbuild -Z install-upgrade
# shellcheck disable=SC1003 # shellcheck disable=SC1003
grep '[\d|\w|-]* \\' ci/build.sh > targets grep '[\d|\w|-]* \\' ci/build.sh > targets
sed -i.bak 's/ \\//g' 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 # Create a markdown list of supported platforms in $PLATFORM_SUPPORT
rm $PLATFORM_SUPPORT || true rm $PLATFORM_SUPPORT || true