(path, {debug, platform})
| 49 | |
| 50 | /** @type {(path: string, options: {debug: boolean; platform: any}) => Promise<void>} */ |
| 51 | const copyEntry = async (path, {debug, platform}) => { |
| 52 | const cwdPath = getCwdPath(path); |
| 53 | const destDir = getDestDir({debug, platform}); |
| 54 | const src = `${srcDir}/${cwdPath}`; |
| 55 | const dest = `${destDir}/${cwdPath}`; |
| 56 | await copyFile(src, dest); |
| 57 | }; |
| 58 | |
| 59 | const copyAll = async ({platforms, debug}) => { |
| 60 | const promises = []; |
no test coverage detected