1
1
using System . IO ;
2
2
using System . Linq ;
3
3
using System . Text ;
4
- using System . Xml ;
5
- using System . Xml . Xsl ;
6
4
using Cake . Common ;
7
5
using Cake . Common . Build ;
8
6
using Cake . Common . Build . AppVeyor ;
@@ -179,11 +177,12 @@ public void DocfxChangelogGenerate(string version)
179
177
180
178
public void RunDocfx ( FilePath docfxJson , string args = "" )
181
179
{
180
+ this . Information ( $ "Running docfx for '{ docfxJson } ' with args '{ args } '") ;
182
181
if ( ! this . IsRunningOnWindows ( ) )
183
182
this . StartProcess ( "mono" ,
184
183
new ProcessSettings { Arguments = DocfxExeFile . FullPath + " " + docfxJson + " " + args } ) ;
185
184
else
186
- this . StartProcess ( DocfxExeFile . FullPath , new ProcessSettings { Arguments = args } ) ;
185
+ this . StartProcess ( DocfxExeFile . FullPath , new ProcessSettings { Arguments = docfxJson + " " + args } ) ;
187
186
}
188
187
}
189
188
@@ -429,7 +428,7 @@ public override void Run(BuildContext context)
429
428
}
430
429
}
431
430
432
- [ TaskName ( "DocFX_Changelog_Build " ) ]
431
+ [ TaskName ( "DocFX_Build " ) ]
433
432
[ IsDependentOn ( typeof ( DocfxInstallTask ) ) ]
434
433
[ IsDependentOn ( typeof ( DocfxChangelogGenerateTask ) ) ]
435
434
public class DocfxChangelogBuildTask : FrostingTask < BuildContext >
@@ -440,7 +439,7 @@ public override void Run(BuildContext context)
440
439
}
441
440
}
442
441
443
- [ TaskName ( "DocFX_Changelog_Serve " ) ]
442
+ [ TaskName ( "DocFX_Serve " ) ]
444
443
[ IsDependentOn ( typeof ( DocfxInstallTask ) ) ]
445
444
[ IsDependentOn ( typeof ( DocfxChangelogGenerateTask ) ) ]
446
445
public class DocfxChangelogServeTask : FrostingTask < BuildContext >
0 commit comments