瀏覽代碼

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

pull/3/head
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"
}
}

Loading…
取消
儲存