Skip to content

Commit

Permalink
fix docfx.console init issue (dotnet#2437)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicancy authored Feb 13, 2018
1 parent 0c3b278 commit e61b30d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nuspec/docfx.console/build/docfx.console.targets
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
<DocGenerateCommand Condition="'$(DocTemplate)' != ''">$(DocGenerateCommand) --template &quot;$(DocTemplate)&quot; </DocGenerateCommand>
<DocGenerateCommand Condition="'$(DocParameters)' != ''">$(DocGenerateCommand) $(DocParameters)</DocGenerateCommand>
</PropertyGroup>
<Message Text="Init docfx config files" />
<Exec Command="&quot;$(BuildDocToolPath)&quot; init -o &quot;$(MSBuildProjectDirectory)&quot; -q --apiGlobPattern **.csproj --apiSourceFolder &quot;$(MSBuildProjectDirectory)&quot;" />
<Message Condition="!Exists($(DocfxConfigFile))" Text="Init docfx config files" />
<Exec Condition="!Exists($(DocfxConfigFile))" Command="&quot;$(BuildDocToolPath)&quot; init -o &quot;$(MSBuildProjectDirectory)&quot; -q --apiGlobPattern **.csproj --apiSourceFolder &quot;$(MSBuildProjectDirectory)&quot;" />
<Message Text="Executing $(DocGenerateCommand)" />
<Exec Command="$(DocGenerateCommand)"></Exec>
</Target>
Expand Down

0 comments on commit e61b30d

Please sign in to comment.