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