npmci/ts/npmci.env.ts

13 lines
347 B
TypeScript
Raw Permalink 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 :)
*/
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
}