File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
function Build ()
2
2
{
3
- & dotnet restore GitLabApiClient.sln | Write-Host
3
+ & dotnet restore | Write-Host
4
4
if ($LastExitCode -ne 0 )
5
5
{
6
6
exit 1
7
7
}
8
8
9
- & dotnet build src\GitLabApiClient\GitLabApiClient.csproj | Write-Host
9
+ & dotnet build -- no - restore | Write-Host
10
10
if ($LastExitCode -ne 0 )
11
11
{
12
12
exit 1
13
13
}
14
14
15
- & dotnet build src\GitLabApiClient\GitLabApiClient.csproj - c Release | Write-Host
15
+ & dotnet build - c Release -- no - restore | Write-Host
16
16
if ($LastExitCode -ne 0 )
17
17
{
18
18
exit 1
@@ -21,7 +21,7 @@ function Build()
21
21
22
22
function Pack ()
23
23
{
24
- & dotnet pack src\GitLabApiClient\GitLabApiClient.csproj - c Release -- no- build | Write-Host
24
+ & dotnet pack - c Release -- no - restore -- no- build | Write-Host
25
25
if ($LastExitCode -ne 0 )
26
26
{
27
27
exit 1
Original file line number Diff line number Diff line change 1
- & dotnet test -- filter Category! = LinuxIntegration -- settings coverletArgs.runsettings
1
+ & dotnet test -- filter Category! = LinuxIntegration -- settings coverletArgs.runsettings -- no - build -- no - restore
2
2
3
3
if ($LastExitCode -ne 0 )
4
4
{
You can’t perform that action at this time.
0 commit comments