From 8adde89148d3b5c51744774a7943143ce83d8e7c Mon Sep 17 00:00:00 2001 From: Nick Walker Date: Tue, 7 Jan 2025 02:01:51 +0000 Subject: [PATCH] Add GPX to XML extensions --- lib/linguist/languages.yml | 1 + .../XML/route-gas-works-lake-union-loop.gpx | 85 +++++++++++++++++++ test/test_strategies.rb | 1 + 3 files changed, 87 insertions(+) create mode 100644 samples/XML/route-gas-works-lake-union-loop.gpx diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index b5eebfe281..ad8c579988 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -8112,6 +8112,7 @@ XML: - ".glade" - ".gml" - ".gmx" + - ".gpx" - ".grxml" - ".gst" - ".hzp" diff --git a/samples/XML/route-gas-works-lake-union-loop.gpx b/samples/XML/route-gas-works-lake-union-loop.gpx new file mode 100644 index 0000000000..c766a99d3c --- /dev/null +++ b/samples/XML/route-gas-works-lake-union-loop.gpx @@ -0,0 +1,85 @@ + + + gas-works-lake-union-loop + Gas Works, Lake Union Loop (6.3 mi) + + Race Condition Running: Gas Works, Lake Union Loop + + + Race Condition Running + + Race Condition Running + + + + + gas-works-lake-union-loop + Gas Works, Lake Union Loop (6.3 mi) + + 11.14 + 9.97 + 9.54 + 11.35 + 9.12 + 8.62 + 7.73 + 7.15 + 7.61 + 7.86 + 8.22 + 7.87 + 8.38 + 17.05 + 17.15 + 15.98 + 10.76 + 8.56 + 8.5 + 8.37 + 8.11 + 8.48 + 8.39 + 8.21 + 8.61 + 8.48 + 8.43 + 8.52 + 8.55 + 8.79 + 7.98 + 6.52 + 7.9 + 7.83 + 8.79 + 8.76 + 8.82 + 9.09 + 9.96 + 9.17 + 8.57 + 8.68 + 8.77 + 8.94 + 8.8 + 6.29 + 8.14 + 27.18 + 27.15 + 22.34 + 17.12 + 29.2 + 23.78 + 20.23 + 19.43 + 19.21 + 17.61 + 17.87 + 15.47 + 14.28 + 14.22 + 11.21 + 11.06 + 11.12 + + + diff --git a/test/test_strategies.rb b/test/test_strategies.rb index b57ae907e6..9c0bbc8b51 100644 --- a/test/test_strategies.rb +++ b/test/test_strategies.rb @@ -186,6 +186,7 @@ def test_xml "#{samples_path}/XML/sample.targets", "#{samples_path}/XML/Default.props", "#{samples_path}/XML/racoon.mjml", + "#{samples_path}/XML/route-gas-works-lake-union-loop.gpx", "#{samples_path}/XML/some-ideas.mm", "#{samples_path}/XML/GMOculus.project.gmx", "#{samples_path}/XML/obj_control.object.gmx",