UNPKG

@storm-software/workspace-tools

Version:

Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.

33 lines (30 loc) 697 B
import { buildCargoCommand, cargoCommand } from "./chunk-ZTN2676G.mjs"; import { withRunExecutor } from "./chunk-EYZGKQNH.mjs"; // src/executors/cargo-clippy/executor.ts async function cargoClippyExecutor(options, context) { const command = buildCargoCommand("clippy", options, context); return await cargoCommand(context.root, ...command); } var executor_default = withRunExecutor( "Cargo - Clippy", cargoClippyExecutor, { skipReadingConfig: false, hooks: { applyDefaultOptions: (options) => { options.toolchain ??= "stable"; options.fix ??= false; return options; } } } ); export { cargoClippyExecutor, executor_default };