-
-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e886083
commit 324071a
Showing
20 changed files
with
64 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
dotnet clean "../src/CommandLine.sln" ` -c Debug | ||
dotnet clean "$PSScriptRoot/../src/CommandLine.sln" ` -c Debug | ||
|
||
dotnet build "../src/CommandLine.sln" -c Debug -v minimal /p:RoslynatorDotNetCli=true /m | ||
dotnet build "$PSScriptRoot/../src/CommandLine.sln" -c Debug -v minimal /p:RoslynatorDotNetCli=true /m | ||
|
||
Write-Host "DONE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#dotnet tool install -g roslynator.dotnet.cli | ||
|
||
dotnet build "../src/CommandLine.sln" /p:Configuration=Debug /v:m /m | ||
dotnet build "$PSScriptRoot/../src/CommandLine.sln" /p:Configuration=Debug /v:m /m | ||
|
||
roslynator lloc "../src/Roslynator.sln" ` | ||
roslynator lloc "$PSScriptRoot/../src/Roslynator.sln" ` | ||
--verbosity d ` | ||
--file-log "roslynator.log" ` | ||
--file-log-verbosity diag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
dotnet restore "../src/CommandLine.DocumentationGenerator/CommandLine.DocumentationGenerator.csproj" | ||
dotnet restore "$PSScriptRoot/../src/CommandLine.DocumentationGenerator/CommandLine.DocumentationGenerator.csproj" | ||
|
||
dotnet build "../src/CommandLine.DocumentationGenerator/CommandLine.DocumentationGenerator.csproj" -c Release -v minimal ` | ||
dotnet build "$PSScriptRoot/../src/CommandLine.DocumentationGenerator/CommandLine.DocumentationGenerator.csproj" -c Release -v minimal ` | ||
/p:Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors="1591,RS1024,RS1025,RS1026" ` | ||
|
||
if(!$?) { Read-Host; Exit } | ||
|
||
& "../src/CommandLine.DocumentationGenerator/bin/Release/net7.0/Roslynator.CommandLine.DocumentationGenerator.exe" ` | ||
& "$PSScriptRoot/../src/CommandLine.DocumentationGenerator/bin/Release/net7.0/Roslynator.CommandLine.DocumentationGenerator.exe" ` | ||
build ` | ||
"../src/CommandLine.DocumentationGenerator/data" ` | ||
"$PSScriptRoot/../src/CommandLine.DocumentationGenerator/data" ` | ||
"help,migrate" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dotnet restore "../src/Tools/Tools.sln" --force | ||
dotnet build "../src/Tools/Tools.sln" --no-restore /p:Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors="1591,RS1024,RS1025,RS1026" /m | ||
dotnet restore "$PSScriptRoot/../src/Tools/Tools.sln" --force | ||
dotnet build "$PSScriptRoot/../src/Tools/Tools.sln" --no-restore /p:Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors="1591,RS1024,RS1025,RS1026" /m | ||
|
||
if(!$?) { Read-Host; Exit } | ||
|
||
dotnet "../src/Tools/CodeGenerator/bin/Release/net7.0/Roslynator.CodeGenerator.dll" "../src" | ||
dotnet "$PSScriptRoot/../src/Tools/CodeGenerator/bin/Release/net7.0/Roslynator.CodeGenerator.dll" "../src" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
dotnet restore "../src/Tools/ConfigurationFileGenerator/ConfigurationFileGenerator.csproj" --force | ||
dotnet build "../src/Tools/ConfigurationFileGenerator/ConfigurationFileGenerator.csproj" --no-restore /p:Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors="1591,RS1024,RS1025,RS1026" | ||
dotnet restore "$PSScriptRoot/../src/Tools/ConfigurationFileGenerator/ConfigurationFileGenerator.csproj" --force | ||
dotnet build "$PSScriptRoot/../src/Tools/ConfigurationFileGenerator/ConfigurationFileGenerator.csproj" --no-restore /p:Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors="1591,RS1024,RS1025,RS1026" | ||
|
||
if(!$?) { Read-Host; Exit } | ||
|
||
dotnet "../src/Tools/ConfigurationFileGenerator/bin/Release/net7.0/Roslynator.ConfigurationFileGenerator.dll" ` | ||
dotnet "$PSScriptRoot/../src/Tools/ConfigurationFileGenerator/bin/Release/net7.0/Roslynator.ConfigurationFileGenerator.dll" ` | ||
"../src" ` | ||
"../src/Tools/ConfigurationFileGenerator/configuration.md" ` | ||
"$PSScriptRoot/../src/Tools/ConfigurationFileGenerator/configuration.md" ` | ||
"build/configuration.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dotnet restore "../src/Tools/Tools.sln" --force | ||
dotnet build "../src/Tools/Tools.sln" --no-restore /p:"Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors=`"1591,RS1025,RS1026`"" /m | ||
dotnet restore "$PSScriptRoot/../src/Tools/Tools.sln" --force | ||
dotnet build "$PSScriptRoot/../src/Tools/Tools.sln" --no-restore /p:"Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors=`"1591,RS1025,RS1026`"" /m | ||
|
||
if(!$?) { Read-Host; Exit } | ||
|
||
& "../src/Tools/MetadataGenerator/bin/Release/net7.0/Roslynator.MetadataGenerator" "../src" "build" | ||
& "$PSScriptRoot/../src/Tools/MetadataGenerator/bin/Release/net7.0/Roslynator.MetadataGenerator" "../src" "build" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Remove-Item -Path "$PSScriptRoot/../src/CommandLine/bin/Release/net7.0" -Recurse | ||
Remove-Item -Path "$PSScriptRoot/../src/CommandLine/bin/Release/Roslynator.DotNet.Cli.*.nupkg" | ||
|
||
dotnet pack "$PSScriptRoot/../src/CommandLine/CommandLine.csproj" -c Release -v minimal /p:RoslynatorDotNetCli=true,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors="1591" | ||
|
||
dotnet tool uninstall roslynator.dotnet.cli -g | ||
dotnet tool install roslynator.dotnet.cli -g --add-source "$PSScriptRoot/../src/CommandLine/bin/Release" --version 1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
Remove-Item -Path "../src/CommandLine/bin/Debug/net7.0" -Recurse | ||
Remove-Item -Path "../src/CommandLine/bin/Debug/Roslynator.DotNet.Cli.*.nupkg" | ||
Remove-Item -Path "$PSScriptRoot/../src/CommandLine/bin/Debug/net7.0" -Recurse | ||
Remove-Item -Path "$PSScriptRoot/../src/CommandLine/bin/Debug/Roslynator.DotNet.Cli.*.nupkg" | ||
|
||
dotnet pack "../src/CommandLine/CommandLine.csproj" -c Debug -v minimal ` | ||
/p:RoslynatorDotNetCli=true,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors="1591" | ||
dotnet pack "$PSScriptRoot/../src/CommandLine/CommandLine.csproj" -c Debug -v minimal /p:RoslynatorDotNetCli=true,Deterministic=true | ||
|
||
dotnet tool uninstall roslynator.dotnet.cli -g | ||
|
||
dotnet tool install roslynator.dotnet.cli -g --add-source "../src/CommandLine/bin/Debug" --version 1.0.0 | ||
|
||
Write-Host DONE | ||
dotnet tool install roslynator.dotnet.cli -g --add-source "$PSScriptRoot/../src/CommandLine/bin/Debug" --version 1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
dotnet build "../src/Roslynator.sln" -c Release ` | ||
dotnet build "$PSScriptRoot/../src/Roslynator.sln" -c Release ` | ||
/p:ReportAnalyzer=True ` | ||
/fl ` | ||
/flp:Verbosity=diagnostic ` | ||
/m | ||
|
||
if(!$?) { Read-Host; Exit } | ||
|
||
dotnet build "../src/Tools/LogParser/LogParser.csproj" -c Release -v minimal /m | ||
dotnet build "$PSScriptRoot/../src/Tools/LogParser/LogParser.csproj" -c Release -v minimal /m | ||
|
||
dotnet "../src/Tools/LogParser/bin/Release/netcoreapp3.1/LogParser.dll" "msbuild.log" | ||
dotnet "$PSScriptRoot/../src/Tools/LogParser/bin/Release/netcoreapp3.1/LogParser.dll" "msbuild.log" | ||
|
||
Write-Host DONE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# https://docs.microsoft.com/cs-cz/dotnet/framework/tools/sn-exe-strong-name-tool | ||
|
||
sn -Tp "../src/Core/bin/Debug/netstandard2.0/roslynator.core.dll" | ||
sn -Tp "$PSScriptRoot/../src/Core/bin/Debug/netstandard2.0/roslynator.core.dll" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters