(basePath)
| 159 | written: scriptResult?.written ?? 0, |
| 160 | failed: scriptResult?.failed ?? 0, |
| 161 | format: scriptResult?.format, |
| 162 | extractor: scriptResult?.extractor, |
| 163 | }; |
| 164 | } else { |
| 165 | summary.scripts = { total: 0, skipped: true }; |
| 166 | } |
| 167 | |
| 168 | if (!scriptsOnly) { |
| 169 | logger.info('开始处理资源...'); |
| 170 | await resourceProcessor.processResources(); |
| 171 | summary.assets = { |
| 172 | scenes: resourceProcessor.sceneAssets.length, |
| 173 | prefabs: resourceProcessor.prefabs.length, |
| 174 | sprites: Object.keys(resourceProcessor.spriteFrames).length, |
| 175 | audio: resourceProcessor.audio.length, |
| 176 | animations: resourceProcessor.animation.length, |
| 177 | copies: resourceProcessor.cacheReadList.length, |
| 178 | labelAtlas: (resourceProcessor._labelAtlasCount || 0), |
| 179 | }; |
| 180 | } else { |
| 181 | summary.assets = { skipped: true }; |
| 182 | } |
| 183 |
no outgoing calls
no test coverage detected