@storm-software/workspace-tools
Version:
Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.
32 lines (29 loc) • 660 B
JavaScript
import {
buildCargoCommand,
cargoCommand
} from "./chunk-ZTN2676G.mjs";
import {
withRunExecutor
} from "./chunk-EYZGKQNH.mjs";
// src/executors/cargo-check/executor.ts
async function cargoCheckExecutor(options, context) {
const command = buildCargoCommand("check", options, context);
return await cargoCommand(context.root, ...command);
}
var executor_default = withRunExecutor(
"Cargo - Check",
cargoCheckExecutor,
{
skipReadingConfig: false,
hooks: {
applyDefaultOptions: (options) => {
options.toolchain ??= "stable";
return options;
}
}
}
);
export {
cargoCheckExecutor,
executor_default
};