Add --no-install option to script/build

This commit is contained in:
Kevin Sawicki 2015-05-20 14:48:11 -07:00 committed by Thomas Johansen
parent 8088c16b5c
commit 41c2a61b5a

View File

@ -263,5 +263,6 @@ module.exports = (grunt) ->
grunt.registerTask('ci', ciTasks)
defaultTasks = ['download-electron', 'download-electron-chromedriver', 'build', 'set-version', 'generate-asar']
# defaultTasks.push 'install' unless process.platform is 'linux'
unless process.platform is 'linux' or grunt.option('no-install')
defaultTasks.push 'install'
grunt.registerTask('default', defaultTasks)