UNPKG

655 BTypeScriptView Raw
1import { SoftwareEnvironment } from '@stencila/schema';
2/**
3 * Generates a default.nix and a nixDockerfile for a `SoftwareEnvironment`
4 */
5declare function compile(environ: void | SoftwareEnvironment | null, folder: any): void;
6/**
7 * Builds a Docker image from a nixDockerfile
8 */
9declare function build(folder: any): Promise<void>;
10/**
11 * Executes nix-shell inside a Docker image from nixDockerfile with a Docker data volume for /nix store
12 */
13declare function execute(folder: any, command?: string): Promise<void>;
14declare const _default: {
15 compile: typeof compile;
16 build: typeof build;
17 execute: typeof execute;
18};
19export default _default;