diff options
Diffstat (limited to 'node_modules/nexe/lib/steps/artifacts.d.ts')
-rw-r--r-- | node_modules/nexe/lib/steps/artifacts.d.ts | 11 |
1 files changed, 11 insertions, 0 deletions
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<void>): Promise<void[]>; |