mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Remove skip-rebuild option
This commit is contained in:
committed by
Nathan Sobo
parent
89152fbf58
commit
5a69d0bf4a
26
script/build
26
script/build
@@ -9,7 +9,6 @@ require('colors')
|
||||
const argv = require('yargs')
|
||||
.usage('Usage: $0 [options]')
|
||||
.help('help')
|
||||
.describe('skip-rebuild', 'Skip rebuilding steps (to perform other optional steps)')
|
||||
.describe('code-sign', 'Sign the executables (key specified in env vars)')
|
||||
.describe('create-installer', 'Create an installer (Windows only)')
|
||||
.describe('compress-artifacts', 'Compress Atom binaries (and symbols on macOS)')
|
||||
@@ -39,19 +38,18 @@ process.on('unhandledRejection', function (e) {
|
||||
process.exit(1)
|
||||
})
|
||||
|
||||
if (!argv.skipRebuild) {
|
||||
cleanOutputDirectory()
|
||||
copyAssets()
|
||||
transpileBabelPaths()
|
||||
transpileCoffeeScriptPaths()
|
||||
transpileCsonPaths()
|
||||
transpilePegJsPaths()
|
||||
generateModuleCache()
|
||||
prebuildLessCache()
|
||||
generateMetadata()
|
||||
generateAPIDocs()
|
||||
downloadChromedriver()
|
||||
}
|
||||
cleanOutputDirectory()
|
||||
copyAssets()
|
||||
transpileBabelPaths()
|
||||
transpileCoffeeScriptPaths()
|
||||
transpileCsonPaths()
|
||||
transpilePegJsPaths()
|
||||
generateModuleCache()
|
||||
prebuildLessCache()
|
||||
generateMetadata()
|
||||
generateAPIDocs()
|
||||
downloadChromedriver()
|
||||
|
||||
dumpSymbols()
|
||||
.then(packageApplication)
|
||||
.then(packagedAppPath => {
|
||||
|
||||
Reference in New Issue
Block a user