File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 3939 <CallTarget Targets =" $(_FormatTarget)"
4040 Condition =" '$(_FormatTarget)' != ''" />
4141
42+ <Error Text =" No source files in project."
43+ Condition =" @(Compile->Count()) == 0" />
44+
4245 <ZigCompile AccessControl =" $(AccessControl)"
4346 BlockExtensions =" $(BlockExtensions)"
4447 CommandFragmentsDirectory =" $(_CommandFragmentsPath)"
Original file line number Diff line number Diff line change 11<Project >
22 <Target Name =" _CheckFormat"
3- Condition =" '$(CompilerMode)' == 'Zig'" >
3+ Condition =" '$(CompilerMode)' == 'Zig' and @(ZigSource->Count()) != 0 " >
44 <ZigFormat FormatterMode =" Check"
55 Sources =" @(ZigSource)"
66 StandardOutputImportance =" high"
77 ToolExe =" $(ZigExePath)" />
88 </Target >
99
1010 <Target Name =" Format"
11- Condition =" '$(CompilerMode)' == 'Zig'" >
11+ Condition =" '$(CompilerMode)' == 'Zig' and @(ZigSource->Count()) != 0 " >
1212 <ZigFormat FormatterMode =" Execute"
1313 Sources =" @(ZigSource)"
1414 ToolExe =" $(ZigExePath)" />
You can’t perform that action at this time.
0 commit comments