BAK BYEONG JUN 18932f4a5f
Some checks failed
CI / checks (push) Has been cancelled
init
2025-05-06 13:52:36 +00:00

17 lines
492 B
TypeScript

import { ExecutorContext } from '@nx/devkit';
import { buildCommand } from '../../utils/build-command';
import { cargoCommand } from '../../utils/cargo';
import { CheckExecutorSchema } from './schema';
export default async function* runExecutor(
options: CheckExecutorSchema,
context: ExecutorContext
): AsyncGenerator<{ success: boolean }> {
const command = buildCommand('check', options, context);
const { success } = await cargoCommand(...command);
yield {
success,
};
}