Skip to content

Instantly share code, notes, and snippets.

View bmarti44's full-sized avatar

Brian Martin bmarti44

View GitHub Profile
@bmarti44
bmarti44 / build-apps.js
Last active May 21, 2021 10:27
Build all Angular apps in batches asynchronously
const fs = require('fs'),
spawn = require('child_process').spawn,
// Custom output path.
outputPath = '/nba-angular',
// Number of projects to build asynchronously.
batch = 3;
let ngCli;
function buildProject(project) {