mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-12 07:34:52 +08:00
Add 'default' tasks
This commit is contained in:
parent
da607dd508
commit
3e3e2ca666
1 changed files with 8 additions and 0 deletions
|
@ -399,3 +399,11 @@ module.exports = (grunt) ->
|
||||||
ciTasks.push('publish-nylas-build')
|
ciTasks.push('publish-nylas-build')
|
||||||
|
|
||||||
grunt.registerTask('ci', ciTasks)
|
grunt.registerTask('ci', ciTasks)
|
||||||
|
|
||||||
|
defaultTasks = ['download-electron', 'build', 'set-version', 'generate-asar']
|
||||||
|
# We don't run `install` on linux because you need to run `sudo`.
|
||||||
|
# See docs/build-instructions/linux.md
|
||||||
|
# `sudo script/grunt install`
|
||||||
|
defaultTasks.push 'mkdmg' if process.platform is 'darwin'
|
||||||
|
defaultTasks.push 'install' unless process.platform is 'linux'
|
||||||
|
grunt.registerTask('default', defaultTasks)
|
||||||
|
|
Loading…
Add table
Reference in a new issue