blob: 8042d387522c557d8b3d7d1f33c9638be6f5f0f4 (
plain)
1
2
3
4
5
6
7
8
9
10
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[]>;
|