This repository was archived by the owner on Apr 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,19 @@ var target = Argument("target", "Default");
17
17
public class BuildData
18
18
{
19
19
public DirectoryPath RepoRootFolder { get ; }
20
+ public DirectoryPath TestRootFolder { get ; }
20
21
public DirectoryPath SourceFolder { get ; }
21
22
public DirectoryPath DocsFolder { get ; }
22
23
public DirectoryPath OutputFolder { get ; }
23
24
public List < IIssue > Issues { get ; }
24
25
25
26
public BuildData ( ICakeContext context )
26
27
{
27
- this . RepoRootFolder = context . MakeAbsolute ( context . Directory ( "./" ) ) ;
28
- this . SourceFolder = this . RepoRootFolder . Combine ( "src" ) ;
29
- this . DocsFolder = this . RepoRootFolder . Combine ( "docs" ) ;
30
- this . OutputFolder = this . RepoRootFolder . Combine ( "output" ) ;
28
+ this . TestRootFolder = context . MakeAbsolute ( context . Directory ( "./" ) ) ;
29
+ this . RepoRootFolder = this . TestRootFolder . Combine ( ".." ) ;
30
+ this . SourceFolder = this . TestRootFolder . Combine ( "src" ) ;
31
+ this . DocsFolder = this . TestRootFolder . Combine ( "docs" ) ;
32
+ this . OutputFolder = this . TestRootFolder . Combine ( "output" ) ;
31
33
32
34
this . Issues = new List < IIssue > ( ) ;
33
35
}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Task("Lint-AddinDocumentation")
43
43
44
44
// Run markdownlint
45
45
var settings =
46
- MarkdownlintNodeJsRunnerSettings . ForDirectory ( data . RepoRootFolder . Combine ( "../ docs" ) ) ;
46
+ MarkdownlintNodeJsRunnerSettings . ForDirectory ( data . RepoRootFolder . Combine ( "docs" ) ) ;
47
47
settings . OutputFile = markdownLintLogFilePath ;
48
48
settings . ThrowOnIssue = false ;
49
49
RunMarkdownlintNodeJs ( settings ) ;
You can’t perform that action at this time.
0 commit comments