This commit is contained in:
2018-02-26 20:02:11 +01:00
parent dad521ac04
commit ede088f589
12 changed files with 362 additions and 77 deletions

View File

@ -1,14 +1,13 @@
import plugins = require("./smartci.plugins");
import SmartCiGet = require("./smartci.get");
import plugins = require('./smartci.plugins');
export let isCi = function():boolean {
if(process.env.CI == "true"){
return true;
} else {
return false;
}
export let isCi = function(): boolean {
if (process.env.CI == 'true') {
return true;
} else {
return false;
}
};
export let isTaggedCommit = () => {
return typeof process.env.CI_BUILD_TAG != "undefined";
}
return typeof process.env.CI_BUILD_TAG != 'undefined';
};

View File

@ -1,2 +1,3 @@
import "typings-global";
export let path = require("path");
import * as path from 'path';
export { path };