(key: CacheKey, dirPath: string, buildResult: BuildResult)
| 2163 | } |
| 2164 | |
| 2165 | async afterBuild(key: CacheKey, dirPath: string, buildResult: BuildResult): Promise<BuildResult> { |
| 2166 | if (os.platform() === 'linux' && buildResult.code === 0 && buildResult.executableFilename) { |
| 2167 | const libraryPaths = this.getSharedLibraryPaths(key.libraries, dirPath); |
| 2168 | await copyCopperSpicePlugins(dirPath, buildResult.executableFilename, key.libraries, libraryPaths); |
| 2169 | } |
| 2170 | |
| 2171 | return buildResult; |
| 2172 | } |
| 2173 | |
| 2174 | async getOrBuildExecutable( |
| 2175 | key: CacheKey, |
no test coverage detected