mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-06 21:17:09 +08:00
fix(size): Remove src/pro from build
This commit is contained in:
parent
65f9a3dd6b
commit
4ea242f952
2 changed files with 5 additions and 0 deletions
|
@ -369,6 +369,9 @@ module.exports = (grunt) ->
|
|||
|
||||
grunt.registerTask('docs', ['build-docs', 'render-docs'])
|
||||
|
||||
# NOTE: add-nylas-build-resources task has already run during
|
||||
# script/bootstrap
|
||||
#
|
||||
buildTasks = [
|
||||
'copy-files-for-build',
|
||||
'compile',
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
fs = require 'fs'
|
||||
path = require 'path'
|
||||
rimraf = require 'rimraf'
|
||||
_ = require 'underscore'
|
||||
|
||||
module.exports = (grunt) ->
|
||||
|
@ -169,6 +170,7 @@ module.exports = (grunt) ->
|
|||
|
||||
cp 'spec', path.join(appDir, 'spec')
|
||||
cp 'src', path.join(appDir, 'src'), filter: /.+\.(cson|coffee|cjsx|jsx)$/
|
||||
rimraf.sync(path.join(appDir, 'src', 'pro'))
|
||||
cp 'static', path.join(appDir, 'static')
|
||||
cp 'keymaps', path.join(appDir, 'keymaps')
|
||||
cp 'menus', path.join(appDir, 'menus')
|
||||
|
|
Loading…
Reference in a new issue