File tree 4 files changed +6
-12
lines changed
4 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 3
3
"isRoot" : true ,
4
4
"tools" : {
5
5
"jetbrains.resharper.globaltools" : {
6
- "version" : " 2021.1.4 " ,
6
+ "version" : " 2021.2.1 " ,
7
7
"commands" : [
8
8
" jb"
9
9
]
27
27
]
28
28
}
29
29
}
30
- }
30
+ }
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function CheckLastExitCode {
8
8
9
9
function RunInspectCode {
10
10
$outputPath = [System.IO.Path ]::Combine([System.IO.Path ]::GetTempPath(), ' jetbrains-inspectcode-results.xml' )
11
- dotnet jb inspectcode JsonApiDotNetCore.sln -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- severity= WARNING -- verbosity= WARN - dsl= GlobalAll - dsl= SolutionPersonal - dsl= ProjectPersonal
11
+ dotnet jb inspectcode -- no - build JsonApiDotNetCore.sln -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- severity= WARNING -- verbosity= WARN - dsl= GlobalAll - dsl= SolutionPersonal - dsl= ProjectPersonal
12
12
CheckLastExitCode
13
13
14
14
[xml ]$xml = Get-Content " $outputPath "
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ if ($LASTEXITCODE -ne 0) {
8
8
throw " Tool restore failed with exit code $LASTEXITCODE "
9
9
}
10
10
11
- dotnet build - c Release
11
+ dotnet restore
12
12
13
13
if ($LASTEXITCODE -ne 0 ) {
14
- throw " Build failed with exit code $LASTEXITCODE "
14
+ throw " Package restore failed with exit code $LASTEXITCODE "
15
15
}
16
16
17
17
dotnet regitlint - s JsonApiDotNetCore.sln -- print- command -- jb -- profile -- jb -- profile= ' \"JADNC Full Cleanup\"' -- jb -- properties:Configuration= Release -- jb -- verbosity= WARN
Original file line number Diff line number Diff line change @@ -8,15 +8,9 @@ if ($LASTEXITCODE -ne 0) {
8
8
throw " Tool restore failed with exit code $LASTEXITCODE "
9
9
}
10
10
11
- dotnet build - c Release
12
-
13
- if ($LASTEXITCODE -ne 0 ) {
14
- throw " Build failed with exit code $LASTEXITCODE "
15
- }
16
-
17
11
$outputPath = [System.IO.Path ]::Combine([System.IO.Path ]::GetTempPath(), ' jetbrains-inspectcode-results.xml' )
18
12
$resultPath = [System.IO.Path ]::Combine([System.IO.Path ]::GetTempPath(), ' jetbrains-inspectcode-results.html' )
19
- dotnet jb inspectcode JsonApiDotNetCore.sln -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- severity= WARNING -- verbosity= WARN - dsl= GlobalAll - dsl= SolutionPersonal - dsl= ProjectPersonal
13
+ dotnet jb inspectcode JsonApiDotNetCore.sln -- build -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- severity= WARNING -- verbosity= WARN - dsl= GlobalAll - dsl= SolutionPersonal - dsl= ProjectPersonal
20
14
21
15
if ($LASTEXITCODE -ne 0 ) {
22
16
throw " Code inspection failed with exit code $LASTEXITCODE "
You can’t perform that action at this time.
0 commit comments