File tree 1 file changed +2
-2
lines changed
src/nuspec/docfx.console/build
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 49
49
<DocGenerateCommand Condition =" '$(DocTemplate)' != ''" >$(DocGenerateCommand) --template " $(DocTemplate)" </DocGenerateCommand >
50
50
<DocGenerateCommand Condition =" '$(DocParameters)' != ''" >$(DocGenerateCommand) $(DocParameters)</DocGenerateCommand >
51
51
</PropertyGroup >
52
- <Message Text =" Init docfx config files" />
53
- <Exec Command =" " $(BuildDocToolPath)" init -o " $(MSBuildProjectDirectory)" -q --apiGlobPattern **.csproj --apiSourceFolder " $(MSBuildProjectDirectory)" " />
52
+ <Message Condition = " !Exists($(DocfxConfigFile)) " Text =" Init docfx config files" />
53
+ <Exec Condition = " !Exists($(DocfxConfigFile)) " Command =" " $(BuildDocToolPath)" init -o " $(MSBuildProjectDirectory)" -q --apiGlobPattern **.csproj --apiSourceFolder " $(MSBuildProjectDirectory)" " />
54
54
<Message Text =" Executing $(DocGenerateCommand)" />
55
55
<Exec Command =" $(DocGenerateCommand)" ></Exec >
56
56
</Target >
You can’t perform that action at this time.
0 commit comments