Skip to content

Commit 4df8fcb

Browse files
author
Jani Giannoudis
committed
csproj: changed json schema gen to be optional
1 parent 063a37a commit 4df8fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client.Test/PayrollEngine.Client.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</ItemGroup>
3737

3838
<!-- build json schemas -->
39-
<Target Name="BuildJsonSchema" AfterTargets="Build">
39+
<Target Name="BuildJsonSchema" AfterTargets="Build" Condition="exists('$(PayrollEngineSchemaDir)')">
4040
<Message Importance="High" Text="Building json schema..." />
4141
<Exec Command="JsonSchemaBuilder $(OutDir)\PayrollEngine.Client.Test.dll PayrollEngine.Client.Test.Case.CaseTest $(OutputDir)PayrollEngine.CaseTest.schema.json" />
4242
<Exec Command="JsonSchemaBuilder $(OutDir)\PayrollEngine.Client.Test.dll PayrollEngine.Client.Test.Report.ReportTest $(OutputDir)PayrollEngine.ReportTest.schema.json" />

0 commit comments

Comments
 (0)