(destinationPath, tempPath)
| 47 | }; |
| 48 | |
| 49 | const preProcess = async (destinationPath, tempPath) => { |
| 50 | await remove(destinationPath); // Clean up from previously completed builds |
| 51 | await remove(tempPath); // Clean up from any previously failed builds |
| 52 | await ensureDir(tempPath); // Create temp dir for this new build |
| 53 | }; |
| 54 | |
| 55 | const build = async (tempPath, manifestPath, envExtension = {}) => { |
| 56 | const binPath = join(tempPath, 'bin'); |