Bläddra i källkod

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

production
Pradeep Bhaskaran 4 år sedan
förälder
incheckning
02663904f8
2 ändrade filer med 8 tillägg och 2 borttagningar
  1. 5
    2
      index.js
  2. 3
    0
      package.json

+ 5
- 2
index.js Visa fil

@@ -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 Visa fil

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

Laddar…
Avbryt
Spara