Skip to content

Commit

Permalink
Add switch to disable app check on build
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGD committed Aug 12, 2020
1 parent f401fb0 commit eeaad69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sitko.Core.App/Build/Sitko.Core.App.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>

<Target Name="CheckApp" AfterTargets="Build" Condition="'$(Configuration)' == 'Release' And '$(OutputType)' == 'exe' ">
<Target Name="CheckApp" AfterTargets="Build" Condition="'$(Configuration)' == 'Release' And '$(OutputType)' == 'exe' And '$(DisableAppCheck)' != 'true'">
<Exec Command="dotnet $(OutDir)$(TargetName).dll check"/>
</Target>
</Project>

0 comments on commit eeaad69

Please sign in to comment.