浏览代码

Merge branch 'master' of http://git.bbh/chess/elxr into master

production
Pradeep Bhaskaran 4 年前
父节点
当前提交
02663904f8
共有 2 个文件被更改,包括 8 次插入2 次删除
  1. 5
    2
      index.js
  2. 3
    0
      package.json

+ 5
- 2
index.js 查看文件

@@ -1,4 +1,7 @@

#!/usr/bin/env node

// PB : TODO -- make sure folder context is proper coz we can now run elxr from anywhere.

// --------------
// elxr
// A cli tool for elixr.
@@ -364,11 +367,11 @@ var __runcmd = function(label){
// git push origin master

var repo = processedArgs._[1];
var defaultRepoServer = reposervers[0]
var reposervers = [
'http://git.bbh'
, '//172.16.0.27/repos'
]
var defaultRepoServer = reposervers[0]

var sequentialTaskShellCommands = [];
if(!existsSync(`Z:/${repo}.git`)){

+ 3
- 0
package.json 查看文件

@@ -12,5 +12,8 @@
"dependencies": {
"tree-kill": "^1.2.2",
"glob": "^7.1.2"
},
"bin": {
"elxr": "./index.js"
}
}

正在加载...
取消
保存