npmci/ts/npmci.env.ts

14 lines
429 B
TypeScript
Raw Normal View History

2016-11-24 23:07:20 +00:00
import * as plugins from './npmci.plugins'
import * as paths from './npmci.paths'
2017-03-08 13:50:41 +00:00
import { GitRepo } from 'smartstring'
2017-05-18 20:40:09 +00:00
import { Dockerfile } from './mod_docker/index'
/**
* a info instance about the git respoitory at cwd :)
*/
2017-09-08 21:16:09 +00:00
let repoString: string = process.env.CI_REPOSITORY_URL
if (!repoString) {
repoString = 'https://undefined:undefined@github.com/undefined/undefined.git'
2017-07-19 07:40:48 +00:00
}
2017-09-08 21:16:09 +00:00
export let repo = new GitRepo(repoString)