diff --git a/build/tasks.js b/build/tasks.js index 414592f..34857bf 100644 --- a/build/tasks.js +++ b/build/tasks.js @@ -1,4 +1,4 @@ -const {join} = require('path'); +const {join, relative} = require('path'); const {processCode, spawnWith} = require('@flecks/core/src/server'); const {glob} = require('glob'); @@ -15,6 +15,11 @@ const {workspaces} = require(join(FLECKS_CORE_ROOT, 'package.json')); (async () => { process.exitCode = await concurrent( (await Promise.all(workspaces.map((path) => glob(join(FLECKS_CORE_ROOT, path))))).flat(), - (cwd) => processCode(spawnWith(args, {cwd})), + async (cwd) => { + console.log(`::group::{${relative(FLECKS_CORE_ROOT, cwd)}}`); + const code = await processCode(spawnWith(args, {cwd})); + console.log(`::endgroup::{${relative(FLECKS_CORE_ROOT, cwd)}}`); + return code; + }, ); })();