Browse Source

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

production
Pradeep Bhaskaran 4 years ago
parent
commit
02663904f8
2 changed files with 8 additions and 2 deletions
  1. 5
    2
      index.js
  2. 3
    0
      package.json

+ 5
- 2
index.js View File

@@ -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 View File

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

Loading…
Cancel
Save