File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<Target Name =" BuildAllProjects" >
10
10
<RemoveDir Directories =" $(OutputPath)" Condition =" Exists('$(MSBuildThisFileDirectory)\build')" />
11
- <Exec Command =" dotnet build $(MSBuildThisFileDirectory)src\coverlet.msbuild.tasks\coverlet.msbuild.tasks.csproj -c $(Configuration)" />
11
+ <Exec Command =" dotnet build " $(MSBuildThisFileDirectory)src\coverlet.msbuild.tasks\coverlet.msbuild.tasks.csproj" -c $(Configuration)" />
12
12
</Target >
13
13
14
14
<Target Name =" PublishMSBuildTaskProject" AfterTargets =" BuildAllProjects" >
15
- <Exec Command =" dotnet publish $(MSBuildThisFileDirectory)src\coverlet.msbuild.tasks\coverlet.msbuild.tasks.csproj -c $(Configuration) -o $(OutputPath)" />
15
+ <Exec Command =" dotnet publish " $(MSBuildThisFileDirectory)src\coverlet.msbuild.tasks\coverlet.msbuild.tasks.csproj" -c $(Configuration) -o " $(OutputPath)" " />
16
16
</Target >
17
17
18
18
<Target Name =" CopyMSBuildScripts" AfterTargets =" PublishMSBuildTaskProject" >
24
24
</Target >
25
25
26
26
<Target Name =" RunTests" AfterTargets =" CopyMSBuildScripts" >
27
- <Exec Command =" dotnet test $(MSBuildThisFileDirectory)test\coverlet.core.tests\coverlet.core.tests.csproj -c $(Configuration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover" />
27
+ <Exec Command =" dotnet test " $(MSBuildThisFileDirectory)test\coverlet.core.tests\coverlet.core.tests.csproj" -c $(Configuration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover" />
28
28
</Target >
29
29
30
30
<Target Name =" CreateNuGetPackage" AfterTargets =" RunTests" Condition =" $(Configuration) == 'Release'" >
31
- <Exec Command =" dotnet pack $(MSBuildThisFileDirectory)src\coverlet.msbuild.tasks\coverlet.msbuild.tasks.csproj -c $(Configuration) -o $(OutputPath) /p:NuspecFile=$(NuspecFile)" />
31
+ <Exec Command =" dotnet pack " $(MSBuildThisFileDirectory)src\coverlet.msbuild.tasks\coverlet.msbuild.tasks.csproj" -c $(Configuration) -o $(OutputPath) /p:NuspecFile=$(NuspecFile)" />
32
32
</Target >
33
33
34
34
</Project >
You can’t perform that action at this time.
0 commit comments