Skip to content

Commit 19d984e

Browse files
committed
refactor: Move to new slnx format
1 parent 151207a commit 19d984e

File tree

4 files changed

+48
-127
lines changed

4 files changed

+48
-127
lines changed

bunit.sln

Lines changed: 0 additions & 123 deletions
This file was deleted.

bunit.slnx

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<Solution>
2+
<Folder Name="/.items/">
3+
<File Path=".config/dotnet-tools.json" />
4+
<File Path=".editorconfig" />
5+
<File Path=".gitattributes" />
6+
<File Path=".gitignore" />
7+
<File Path="Directory.Build.props" />
8+
<File Path="Directory.Packages.props" />
9+
<File Path="global.json" />
10+
<File Path="version.json" />
11+
</Folder>
12+
<Folder Name="/.text/">
13+
<File Path="CHANGELOG.md" />
14+
<File Path="MIGRATION.md" />
15+
<File Path="README.md" />
16+
</Folder>
17+
<Folder Name="/.workflows/">
18+
<File Path=".github/workflows/ci.yml" />
19+
<File Path=".github/workflows/docs-deploy.yml" />
20+
<File Path=".github/workflows/prepare-release.yml" />
21+
<File Path=".github/workflows/release.yml" />
22+
</Folder>
23+
<Folder Name="/src/">
24+
<File Path="src/.editorconfig" />
25+
<File Path="src/Directory.Build.props" />
26+
<Project Path="src/bunit.generators.internal/bunit.generators.internal.csproj" />
27+
<Project Path="src/bunit.generators/bunit.generators.csproj" />
28+
<Project Path="src/bunit.template/bunit.template.csproj">
29+
<Build Project="false" />
30+
</Project>
31+
<Project Path="src/bunit.web.query/bunit.web.query.csproj" />
32+
<Project Path="src/bunit/bunit.csproj" />
33+
</Folder>
34+
<Folder Name="/tests/">
35+
<File Path="tests/.editorconfig" />
36+
<File Path="tests/Directory.Build.props" />
37+
<File Path="tests/run-tests.ps1" />
38+
<File Path="tests/xunit.runner.json" />
39+
<Project Path="tests/bunit.generators.tests/bunit.generators.tests.csproj" />
40+
<Project Path="tests/bunit.testassets/bunit.testassets.csproj" />
41+
<Project Path="tests/bunit.tests/bunit.tests.csproj" />
42+
<Project Path="tests/bunit.web.query.tests/bunit.web.query.tests.csproj" />
43+
</Folder>
44+
</Solution>

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The following tools are required to build and view the documentation locally:
2828

2929
### View the documentation
3030

31-
1. Build the `bunit.sln` solution in the root folder in release configuration `dotnet build -c Release`.
31+
1. Build the `bunit.slxn` solution in the root folder in release configuration `dotnet build -c Release`.
3232
2. From `docs/site` run `docfx metadata` to generate the documentation site's metadata.
3333
3. After that run `docfx build` to generate the documentation site.
3434
4. From `docs/` run `serve-docs.cmd`. This will start up a local web server (using `dotnet serve`), hosting the generated documentation site.

tests/run-tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ $maxRuns = $args[0]
22
$mode = $args[1]
33
$filter = $args[2]
44

5-
dotnet build ..\bunit.sln -c $mode --nologo
5+
dotnet build ..\bunit.slnx -c $mode --nologo
66

77
for ($num = 1 ; $num -le $maxRuns ; $num++)
88
{
99
Write-Output "### TEST RUN $num ###"
1010

1111
if($filter)
1212
{
13-
dotnet test ..\bunit.sln -c $mode --no-restore --no-build --blame --nologo --filter $filter
13+
dotnet test ..\bunit.slnx -c $mode --no-restore --no-build --blame --nologo --filter $filter
1414
}
1515
else
1616
{
17-
dotnet test ..\bunit.sln -c $mode --no-restore --no-build --blame --nologo
17+
dotnet test ..\bunit.slnx -c $mode --no-restore --no-build --blame --nologo
1818
}
1919
}

0 commit comments

Comments
 (0)