prepare the execute part
This commit is contained in:
@@ -32,7 +32,7 @@ export class Argument {
|
||||
}
|
||||
export interface IGitVersionTool {
|
||||
install: (versionSpec: string, includePrerelease: boolean) => Promise<void>;
|
||||
run: (...params: Argument[]) => Promise<IExecResult>;
|
||||
run: (options: IGitVersionOptions) => Promise<IExecResult>;
|
||||
}
|
||||
export interface IExecResult {
|
||||
stdout: string;
|
||||
@@ -40,3 +40,12 @@ export interface IExecResult {
|
||||
code: number;
|
||||
error: Error;
|
||||
}
|
||||
|
||||
export interface IGitVersionOptions {
|
||||
targetPath: string;
|
||||
useConfigFile: boolean;
|
||||
configFilePath: string;
|
||||
updateAssemblyInfo: boolean;
|
||||
updateAssemblyInfoFilename: string;
|
||||
additionalArguments: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user