From de3fca49a8cb088b5a273fc6d1c2011ebe2323e2 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 30 Aug 2016 11:48:43 +0200 Subject: [PATCH] Run script/bootstrap immediately after running script/build This will ensure all the dependencies used later in `script/build` are installed. --- script/build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/build b/script/build index 09c4c5d05..beab4088a 100755 --- a/script/build +++ b/script/build @@ -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()