mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Only dumpSymbols if rebuilding binaries during build
This commit is contained in:
@@ -53,6 +53,8 @@ process.on('unhandledRejection', function (e) {
|
||||
process.exit(1)
|
||||
})
|
||||
|
||||
let artifactsPromise = Promise.resolve()
|
||||
|
||||
if (!argv.existingArtifacts) {
|
||||
checkChromedriverVersion()
|
||||
cleanOutputDirectory()
|
||||
@@ -66,9 +68,10 @@ if (!argv.existingArtifacts) {
|
||||
prebuildLessCache()
|
||||
generateMetadata()
|
||||
generateAPIDocs()
|
||||
artifactsPromise = dumpSymbols()
|
||||
}
|
||||
|
||||
dumpSymbols()
|
||||
artifactsPromise
|
||||
.then(packageApplication)
|
||||
.then(packagedAppPath => generateStartupSnapshot(packagedAppPath).then(() => packagedAppPath))
|
||||
.then(packagedAppPath => {
|
||||
|
||||
Reference in New Issue
Block a user