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'
|
2016-06-03 00:56:20 +00:00
|
|
|
|
2017-07-27 11:15:39 +00:00
|
|
|
/**
|
|
|
|
* a info instance about the git respoitory at cwd :)
|
|
|
|
*/
|
2016-11-24 23:07:20 +00:00
|
|
|
export let repo: GitRepo
|
2017-05-18 20:40:09 +00:00
|
|
|
if (process.env.CI_REPOSITORY_URL) {
|
|
|
|
repo = new GitRepo(process.env.CI_REPOSITORY_URL)
|
2017-07-19 07:40:48 +00:00
|
|
|
}
|