Parcourir la source

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

production
Pradeep Bhaskaran il y a 4 ans
Parent
révision
02663904f8
2 fichiers modifiés avec 8 ajouts et 2 suppressions
  1. 5
    2
      index.js
  2. 3
    0
      package.json

+ 5
- 2
index.js Voir le fichier


#!/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 Voir le fichier

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

Chargement…
Annuler
Enregistrer