(config: Config, platformName: string, dir: string, hook: string)
| 148 | } |
| 149 | |
| 150 | export async function runHooks(config: Config, platformName: string, dir: string, hook: string): Promise<void> { |
| 151 | await runPlatformHook(config, platformName, dir, hook); |
| 152 | |
| 153 | const allPlugins = await getPlugins(config, platformName); |
| 154 | |
| 155 | for (const p of allPlugins) { |
| 156 | await runPlatformHook(config, platformName, p.rootPath, hook); |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | export async function runPlatformHook( |
| 161 | config: Config, |
no test coverage detected