|
|
|
|
|
|
|
|
inherit : true, shell: true |
|
|
inherit : true, shell: true |
|
|
, cwd : repo |
|
|
, cwd : repo |
|
|
, env: process.env |
|
|
, env: process.env |
|
|
, title : `bower i for ${repo}` |
|
|
|
|
|
|
|
|
, title : `npm build for ${repo}` |
|
|
}).catch((e)=>{ console.error(e) }) |
|
|
}).catch((e)=>{ console.error(e) }) |
|
|
return p; |
|
|
return p; |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
, title : `rm 'package-lock.json' for ${repo}` |
|
|
, title : `rm 'package-lock.json' for ${repo}` |
|
|
}).catch((e)=>{ console.error(e) }) |
|
|
}).catch((e)=>{ console.error(e) }) |
|
|
|
|
|
|
|
|
if( npmbuildrepos.indexOf(repo) != -1) { |
|
|
|
|
|
|
|
|
if( npmbuildrepos.indexOf(repo) < 0) { |
|
|
tasks.push(()=>{ |
|
|
tasks.push(()=>{ |
|
|
var p = nodeShellExec('npm', ['i --force'], { |
|
|
var p = nodeShellExec('npm', ['i --force'], { |
|
|
inherit : true, shell: true |
|
|
inherit : true, shell: true |