@storm-software/workspace-tools
Version:
Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.
32 lines (22 loc) • 848 B
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});
var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
var _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.js');
// src/executors/cargo-check/executor.ts
async function cargoCheckExecutor(options, context) {
const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "check", options, context);
return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
}
var executor_default = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
"Cargo - Check",
cargoCheckExecutor,
{
skipReadingConfig: false,
hooks: {
applyDefaultOptions: (options) => {
options.toolchain ??= "stable";
return options;
}
}
}
);
exports.cargoCheckExecutor = cargoCheckExecutor; exports.executor_default = executor_default;