Created
December 17, 2019 02:14
-
-
Save vsavkin/27e8fbd34bb13312bb663ce063777bb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const execSync = require('child_process').execSync; | |
const commands = JSON.parse(process.argv[2]); | |
const projects = commands[process.argv[3]]; | |
const target = process.argv[4]; | |
execSync( | |
`npx nx run-many --target=${target} --projects=${projects.join( | |
',' | |
)} --parallel`, | |
{ | |
stdio: [0, 1, 2] | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment