Skip to content

Commit

Permalink
Fix araxis on mac (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Apr 8, 2020
1 parent 768a905 commit c1735a4
Show file tree
Hide file tree
Showing 9 changed files with 251 additions and 221 deletions.
184 changes: 89 additions & 95 deletions docs/diff-tool.md

Large diffs are not rendered by default.

17 changes: 7 additions & 10 deletions src/DiffEngine.Tests/DiffToolsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ public void WriteFoundTools()
## [{tool.Name}]({tool.Url})");

writer.WriteLine($@"
* IsMdi: {tool.IsMdi}
* SupportsAutoRefresh: {tool.SupportsAutoRefresh}");
* Is MDI: {tool.IsMdi}
* Supports auto-refresh: {tool.SupportsAutoRefresh}
* Supports text files: {tool.SupportsText}");

if (tool.Notes != null)
{
Expand All @@ -47,7 +48,7 @@ public void WriteFoundTools()
### Windows settings:
");
writer.WriteLine($@"
**Example arguments:** `{tool.BuildWindowsArguments("tempFile", "targetFile")}`");
**Example arguments:** `{tool.BuildWindowsArguments!("tempFile", "targetFile")}`");

writer.WriteLine(@"
**Scanned paths:**
Expand All @@ -61,10 +62,10 @@ public void WriteFoundTools()
if (tool.OsxExePaths.Any())
{
writer.WriteLine(@"
### Osx settings:
### OSX settings:
");
writer.WriteLine($@"
**Example arguments:** `{tool.BuildOsxArguments("tempFile", "targetFile")}`");
**Example arguments:** `{tool.BuildOsxArguments!("tempFile", "targetFile")}`");

writer.WriteLine(@"
**Scanned paths:**
Expand All @@ -81,7 +82,7 @@ public void WriteFoundTools()
### Linux settings:
");
writer.WriteLine($@"
**Example arguments:** `{tool.BuildLinuxArguments("tempFile", "targetFile")}`");
**Example arguments:** `{tool.BuildLinuxArguments!("tempFile", "targetFile")}`");

writer.WriteLine(@"
**Scanned paths:**
Expand All @@ -92,10 +93,6 @@ public void WriteFoundTools()
}
}

writer.WriteLine($@"
### Supported Text files: {tool.SupportsText}
");

if (tool.BinaryExtensions.Any())
{
writer.WriteLine(@"
Expand Down
Loading

0 comments on commit c1735a4

Please sign in to comment.