Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .slnx to XML extensions #7084

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8079,6 +8079,7 @@ XML:
- ".scxml"
- ".sfproj"
- ".shproj"
- ".slnx"
- ".srdf"
- ".storyboard"
- ".sublime-snippet"
Expand Down
10 changes: 10 additions & 0 deletions samples/XML/Robots.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Solution>
<Project Path="build\Robots.Build\Robots.Build.csproj" />
<Project Path="src\Robots.Grasshopper\Robots.Grasshopper.csproj">
<BuildDependency Project="src\Robots\Robots.csproj" />
</Project>
<Project Path="src\Robots\Robots.csproj" />
<Project Path="tests\Robots.Tests\Robots.Tests.csproj">
<BuildDependency Project="src\Robots\Robots.csproj" />
</Project>
</Solution>
3 changes: 2 additions & 1 deletion test/test_strategies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ def test_xml
"#{samples_path}/XML/some-ideas.mm",
"#{samples_path}/XML/GMOculus.project.gmx",
"#{samples_path}/XML/obj_control.object.gmx",
"#{samples_path}/XML/MainView.axaml"
"#{samples_path}/XML/MainView.axaml",
"#{samples_path}/XML/Robots.slnx",
]
assert_all_xml all_xml_fixtures("*") - no_root_tag

Expand Down
Loading