File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion =" 4.0" >
3
3
<PropertyGroup >
4
+ <SHFBROOT Condition =" '$(SHFBROOT)' == '' " >$(MSBuildThisFileDirectory)..\..\packages\EWSoftware.SHFB.2017.1.28.0\Tools\</SHFBROOT >
5
+ <ComponentPath >$(MSBuildThisFileDirectory)..\..\packages</ComponentPath >
4
6
<!-- The configuration and platform will be used to determine which
5
7
assemblies to include from solution and project documentation
6
8
sources -->
Original file line number Diff line number Diff line change @@ -115,6 +115,30 @@ Task("TestLinux")
115
115
Task ( "Test" )
116
116
. IsDependentOn ( "TestWindows" ) ;
117
117
118
+ Task ( "ApiDocs" )
119
+ . Does ( ( ) =>
120
+ {
121
+ var tempDirectory = artifactsDirectory + Directory ( "tmp" ) ;
122
+ EnsureDirectoryExists ( tempDirectory ) ;
123
+ CleanDirectory ( tempDirectory ) ;
124
+
125
+ var apiDocsDirectory = solutionDirectory + Directory ( "Docs" ) + Directory ( "Api" ) ;
126
+ var shfbprojFile = apiDocsDirectory + File ( "CSharpDriverDocs.shfbproj" ) ;
127
+ var preliminary = true ;
128
+ var helpFileVersion = "2.4.4" ; // should have build number?
129
+ MSBuild ( shfbprojFile , new MSBuildSettings
130
+ {
131
+ Configuration = "Release"
132
+ }
133
+ . WithProperty ( "OutputPath" , tempDirectory )
134
+ . WithProperty ( "CleanIntermediate" , "True" )
135
+ . WithProperty ( "Preliminary" , preliminary ? "True" : "False" )
136
+ . WithProperty ( "HelpFileVersion" , helpFileVersion )
137
+ ) ;
138
+
139
+ // DeleteDirectory(tempDirectory, recursive: true);
140
+ } ) ;
141
+
118
142
Task ( "RefDocs" )
119
143
. Does ( ( ) =>
120
144
{
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<packages >
3
3
<package id =" AsyncUsageAnalyzers" version =" 1.0.0-alpha003" targetFramework =" net45" developmentDependency =" true" />
4
+ <package id =" EWSoftware.SHFB" version =" 2017.1.28.0" targetFramework =" net45" />
5
+ <package id =" EWSoftware.SHFB.NETFramework" version =" 4.6.2" targetFramework =" net45" />
4
6
</packages >
You can’t perform that action at this time.
0 commit comments