UNPKG

makecode

Version:

MakeCode (PXT) - web-cached build tool

19 lines (18 loc) 790 B
/// <reference types="node" /> import * as mkc from "makecode-core/built/mkc"; export interface SpawnOptions { cmd: string; args: string[]; cwd?: string; shell?: boolean; pipe?: boolean; input?: string; silent?: boolean; allowNonZeroExit?: boolean; } export declare function spawnAsync(opts: SpawnOptions): Promise<void>; export declare function spawnWithPipeAsync(opts: SpawnOptions): Promise<Buffer>; export declare function queryAsync(msg: string, defl: string): Promise<string>; export declare function needsGitCleanAsync(): Promise<void>; export declare function runGitAsync(...args: string[]): Promise<void>; export declare function bumpAsync(prj: mkc.Project, versionFile: string, stage: boolean, release: "patch" | "minor" | "major"): Promise<void>;