Skip to content

Commit f247d86

Browse files
committed
feat: use visionos emoji when targeting that platform
1 parent 8ad6027 commit f247d86

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/nx/src/utils/executors.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,17 @@ export function commonExecutor(options: BuildExecutorSchema | TestExecutorSchema
249249
}
250250

251251
const runCommand = function () {
252-
console.log(`――――――――――――――――――――――――${options.clean ? '' : options.platform === 'ios' ? ' ' : ' 🤖'}`);
252+
let icon = '';
253+
if (!options.clean) {
254+
if (options.platform === 'ios') {
255+
icon = '';
256+
} else if (options.platform === 'android') {
257+
icon = '🤖';
258+
} else if (['vision', 'visionos'].includes(options.platform)) {
259+
icon = '🥽';
260+
}
261+
}
262+
console.log(`―――――――――――――――――――――――― ${icon}`);
253263
console.log(`Running NativeScript ${isTesting ? 'unit tests' : 'CLI'} within ${projectCwd}`);
254264
console.log(' ');
255265
console.log([`ns`, ...nsOptions, ...additionalArgs].join(' '));

0 commit comments

Comments
 (0)