diff --git a/src/commands/generate-all.ts b/src/commands/generate-all.ts index 2da832e..8e71429 100644 --- a/src/commands/generate-all.ts +++ b/src/commands/generate-all.ts @@ -1,4 +1,5 @@ import { Command, flags } from '@oclif/command' +import chalk from 'chalk' import { promises as fs } from 'fs' import { createVendorDirs } from '../blobs/build' @@ -145,6 +146,12 @@ export default class GenerateFull extends Command { let devices = await loadDevicesConfig(configPath) for (let config of devices) { + if (devices.length > 1) { + this.log(` +${chalk.bold(chalk.blueBright(config.device.name))} +`) + } + await doDevice(config, stockSrc, customSrc, aapt2Path, buildId, factoryZip, skipCopy) } diff --git a/src/commands/generate-prep.ts b/src/commands/generate-prep.ts index 1f1f46a..8dbb682 100644 --- a/src/commands/generate-prep.ts +++ b/src/commands/generate-prep.ts @@ -1,4 +1,5 @@ import { Command, flags } from '@oclif/command' +import chalk from 'chalk' import { createVendorDirs } from '../blobs/build' import { copyBlobs } from '../blobs/copy' @@ -76,6 +77,12 @@ export default class GeneratePrep extends Command { let devices = await loadDevicesConfig(configPath) for (let config of devices) { + if (devices.length > 1) { + this.log(` +${chalk.bold(chalk.blueBright(config.device.name))} +`) + } + await doDevice(config, stockSrc, buildId, skipCopy) } }