Merge pull request #12553 from atom/as-fix-script-build

Run script/bootstrap immediately after running script/build
This commit is contained in:
Antonio Scandurra
2016-08-30 11:51:34 +02:00
committed by GitHub

View File

@@ -2,6 +2,10 @@
'use strict'
// Run bootstrap first to ensure all the dependencies used later in this script
// are installed.
require('./bootstrap')
// Needed so we can require src/module-cache.coffee during generateModuleCache
require('coffee-script/register')
require('colors')
@@ -42,8 +46,6 @@ process.on('unhandledRejection', function (e) {
process.exit(1)
})
require('./bootstrap')
cleanOutputDirectory()
copyAssets()
transpileBabelPaths()