prepare the execute part

This commit is contained in:
Artur Stolear
2019-11-22 15:43:19 +02:00
parent 55452e96e3
commit f78d4bc5ba
8 changed files with 110 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ import * as http from "typed-rest-client/HttpClient";
import { inject, injectable } from "inversify";
import { Argument, IBuildAgent, IDotnetTool, IExecResult, IGitVersionTool, IVersionManager } from "./interfaces";
import { Argument, IBuildAgent, IDotnetTool, IExecResult, IGitVersionOptions, IGitVersionTool, IVersionManager } from "./interfaces";
import { TYPES } from "./types";
@injectable()
@@ -157,7 +157,8 @@ class GitVersionTool implements IGitVersionTool {
const toolPath = await this.dotnetTool.toolInstall("GitVersion.Tool", versionSpec, false, includePrerelease);
}
public run(...params: Argument[]): Promise<IExecResult> {
public run(options: IGitVersionOptions): Promise<IExecResult> {
console.log(options);
return;
}
}