parent
32a4cb804b
commit
81e82e7d21
@ -36,6 +36,10 @@ const commit = execa.sync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
|
||||
run()
|
||||
|
||||
async function run() {
|
||||
if (isRelease) {
|
||||
// remove build cache for release builds to avoid outdated enum values
|
||||
await fs.remove(path.resolve(__dirname, '../node_modules/.rts2_cache'))
|
||||
}
|
||||
if (!targets.length) {
|
||||
await buildAll(allTargets)
|
||||
checkAllSizes(allTargets)
|
||||
|
Loading…
Reference in New Issue
Block a user