smartci/ts/smartci.check.ts

21 lines
375 B
TypeScript
Raw Normal View History

2016-03-22 23:12:17 +00:00
/// <reference path="typings/main.d.ts" />
import plugins = require("./smartci.plugins");
export let isCi = function():boolean {
if(process.env.CI == "true"){
return true;
} else {
return false;
}
};
export let isTaggedCommit = function(){
if(process.env.TRAVIS_TAG != ""){
return true;
} else {
return false;
}
};