@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) • 834 B
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
var _chunk4PG3MS76js = require('./chunk-4PG3MS76.js');
// src/executors/cargo-check/executor.ts
async function cargoCheckExecutor(options, context) {
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "check", options, context);
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
}
var executor_default = _chunk4PG3MS76js.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;