Ver código fonte

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

pull/3/head
Pradeep Bhaskaran 4 anos atrás
pai
commit
02663904f8
2 arquivos alterados com 8 adições e 2 exclusões
  1. 5
    2
      index.js
  2. 3
    0
      package.json

+ 5
- 2
index.js Ver arquivo

@@ -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 Ver arquivo

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

Carregando…
Cancelar
Salvar