UNPKG

@storm-software/workspace-tools

Version:

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

33 lines (23 loc) 912 B
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js'); var _chunkULCE72HVjs = require('./chunk-ULCE72HV.js'); // src/executors/cargo-format/executor.ts async function cargoFormatExecutor(options, context) { const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "fmt", options, context); return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command); } var executor_default = _chunkULCE72HVjs.withRunExecutor.call(void 0, "Cargo - Format", cargoFormatExecutor, { skipReadingConfig: false, hooks: { applyDefaultOptions: (options) => { options.outputPath ??= "dist/{projectRoot}/target"; options.toolchain ??= "stable"; return options; } } } ); exports.cargoFormatExecutor = cargoFormatExecutor; exports.executor_default = executor_default;