From d25e11bee6ca5ca523884da132d18e1400e077b9 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 14:41:48 +0200 Subject: Initial commit --- node_modules/nexe/lib/steps/artifacts.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 node_modules/nexe/lib/steps/artifacts.d.ts (limited to 'node_modules/nexe/lib/steps/artifacts.d.ts') diff --git a/node_modules/nexe/lib/steps/artifacts.d.ts b/node_modules/nexe/lib/steps/artifacts.d.ts new file mode 100644 index 0000000..8042d38 --- /dev/null +++ b/node_modules/nexe/lib/steps/artifacts.d.ts @@ -0,0 +1,11 @@ +import { NexeCompiler } from '../compiler'; +/** + * The artifacts step is where source patches are committed, or written as "artifacts" + * Steps: + * - A temporary directory is created in the downloaded source + * - On start, any files in that directory are restored into the source tree + * - After the patch functions have run, the temporary directory is emptied + * - Original versions of sources to be patched are written to the temporary directory + * - Finally, The patched files are written into source. + */ +export default function artifacts(compiler: NexeCompiler, next: () => Promise): Promise; -- cgit