moved to core folder the common scripts

This commit is contained in:
Artur Stolear
2020-01-14 11:47:12 +02:00
parent af8f283fe6
commit f09d4de93d
21 changed files with 35620 additions and 2084 deletions

13
src/core/ioc.ts Normal file
View File

@@ -0,0 +1,13 @@
import { Container } from "inversify";
import { DotnetTool, GitVersionTool, VersionManager } from "./common";
import { IDotnetTool, IGitVersionTool, IVersionManager } from "./interfaces";
import { TYPES } from "./types";
const ioc = new Container();
ioc.bind<IVersionManager>(TYPES.IVersionManager).to(VersionManager);
ioc.bind<IDotnetTool>(TYPES.IDotnetTool).to(DotnetTool);
ioc.bind<IGitVersionTool>(TYPES.IGitVersionTool).to(GitVersionTool);
export { ioc };