added GitVersion run implementation

This commit is contained in:
Artur Stolear
2019-11-22 17:28:42 +02:00
parent c6860ee6ba
commit 1ebbaf4414
8 changed files with 1056 additions and 804 deletions

View File

@@ -17,6 +17,9 @@ export interface IBuildAgent {
which: (tool: string, check?: boolean) => Promise<string>;
exec: (exec: string, args: string[]) => Promise<IExecResult>;
getSourceDir: () => string;
isValidInputFile(input: string, file: string): boolean;
fileExists(file: string): boolean;
directoryExists(file: string): boolean;
getInput(input: string, required?: boolean): string;
getBooleanInput(input: string, required?: boolean): boolean;
@@ -49,4 +52,5 @@ export interface IGitVersionOptions {
updateAssemblyInfo: boolean;
updateAssemblyInfoFilename: string;
additionalArguments: string;
srcDir: string;
}