@atomist/sdm
Version:
Atomist Software Delivery Machine SDK
14 lines • 697 B
TypeScript
import { CodeTransform } from "../../../api/registration/CodeTransform";
import { ProgressLog } from "../../../spi/log/ProgressLog";
import { SpawnLogInvocation } from "../../misc/child_process";
/**
* Create a code transform by wrapping child processes run in the
* project directory. If a command fails, no further commands will be
* run and its error will be returned.
*
* @param commands array of commands to execute
* @param log where to log output from commands
* @return result of commands, success or the first failure
*/
export declare function spawnCodeTransform(commands: SpawnLogInvocation[], log?: ProgressLog): CodeTransform;
//# sourceMappingURL=spawnCodeTransform.d.ts.map