-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
58 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
language: csharp | ||
solution: LargeList.sln | ||
install: | ||
- nuget restore LargeList.sln | ||
- nuget install NUnit.ConsoleRunner -Version 3.7.0 -OutputDirectory testrunner | ||
script: | ||
- xbuild /p:Configuration=Release LargeList.sln | ||
- mono ./testrunner/NUnit.ConsoleRunner.3.7.0/tools/nunit3-console.exe ./LargeList/bin/x64/Release/Test-LargeList.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
|
||
namespace LargeList | ||
{ | ||
/// <summary> | ||
/// Custom attribute for the assembly. | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Assembly)] | ||
public class LargeListAssemblyAttribute : Attribute | ||
{ | ||
internal const int GlobalDefaultMaxSegmentCapacity = 10; | ||
|
||
/// <summary> | ||
/// Indicates if the assembly was compiled in STRICT mode. | ||
/// </summary> | ||
public bool IsStrict { get; set; } | ||
|
||
/// <summary> | ||
/// Reports the default maximum capacity of a partition's segment. | ||
/// </summary> | ||
public int DefaultMaxSegmentCapacity { get; set; } = GlobalDefaultMaxSegmentCapacity; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
if not exist "%~1\..\Version Tools\VersionBuilder.exe" goto error | ||
|
||
"%~1\..\Version Tools\VersionBuilder.exe" %2 %3 %4 | ||
goto end | ||
|
||
:error | ||
echo Failed to update version. | ||
goto end | ||
|
||
:end |