Browse Source

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

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


#!/usr/bin/env node

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

// -------------- // --------------
// elxr // elxr
// A cli tool for elixr. // A cli tool for elixr.
// git push origin master // git push origin master


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


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

+ 3
- 0
package.json View File

"dependencies": { "dependencies": {
"tree-kill": "^1.2.2", "tree-kill": "^1.2.2",
"glob": "^7.1.2" "glob": "^7.1.2"
},
"bin": {
"elxr": "./index.js"
} }
} }

Loading…
Cancel
Save