Przeglądaj źródła

Fixed data junction

pull/3/head
samuel 4 lat temu
rodzic
commit
5c9c6ffe76
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4
    2
      index.js

+ 4
- 2
index.js Wyświetl plik

@@ -153,6 +153,8 @@ var dbForLabel = function(label){
return dbsForLabel[label] || 'mysql'
}

var gitInstallDir = "C:\\Program Files\\Git\\bin\\sh.exe"
// var gitInstallDir = "G:\\Installed\\Git\\bin\\sh.exe"
// Relevant git repos
var gitRepos = [
'ember-masonry-grid'
@@ -602,7 +604,7 @@ var __runcmd = function(label){
var getPullCmd = (repo)=>{
// console.log(useGitPull)

var pullCmd = ["C:\\Program Files\\Git\\bin\\sh.exe"
var pullCmd = [ gitInstallDir
, ['-c', 'branch=`git rev-parse --abbrev-ref HEAD`;for i in `git remote`; do git pull $i $branch; done;']
, { cwd : repo, title : 'pull all origins for ' + repo }]
// var pullCmd = ['pullall', [], { cwd : repo }]
@@ -894,7 +896,7 @@ var __runcmd = function(label){
tasks = tasks.concat(
[
()=>{
var p = nodeShellExec('mklink', ['/D', 'data', runconfig.use + '-data'], {
var p = nodeShellExec('mklink', ['/J', 'data', runconfig.use + '-data'], {
inherit : true, shell: true
, env: process.env
}).catch((e)=>{ console.error(e) })

Ładowanie…
Anuluj
Zapisz