@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) • 766 B
JavaScript
import {
buildCargoCommand,
cargoCommand
} from "./chunk-JIAGNEII.mjs";
import {
withRunExecutor
} from "./chunk-7P2LGXFI.mjs";
import {
__name
} from "./chunk-2BPV2XV2.mjs";
// src/executors/cargo-check/executor.ts
async function cargoCheckExecutor(options, context) {
const command = buildCargoCommand("check", options, context);
return await cargoCommand(...command);
}
__name(cargoCheckExecutor, "cargoCheckExecutor");
var executor_default = withRunExecutor("Cargo Check", cargoCheckExecutor, {
skipReadingConfig: false,
hooks: {
applyDefaultOptions: /* @__PURE__ */ __name((options) => {
options.toolchain ??= "stable";
return options;
}, "applyDefaultOptions")
}
});
export {
cargoCheckExecutor,
executor_default
};