mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Precompile spec/ CoffeeScript files
This commit is contained in:
@@ -69,6 +69,8 @@ module.exports = (grunt) ->
|
||||
expand: true
|
||||
src: [
|
||||
'src/**/*.coffee'
|
||||
'spec/*.coffee'
|
||||
'!spec/*-spec.coffee'
|
||||
'exports/**/*.coffee'
|
||||
'static/**/*.coffee'
|
||||
]
|
||||
|
||||
@@ -162,7 +162,6 @@ module.exports = (grunt) ->
|
||||
for directory in packageDirectories
|
||||
cp directory, path.join(appDir, directory), filter: filterPackage
|
||||
|
||||
cp 'spec', path.join(appDir, 'spec'), filter: /fixtures|integration|.+-spec\.coffee/
|
||||
cp 'src', path.join(appDir, 'src'), filter: /.+\.(cson|coffee)$/
|
||||
cp 'static', path.join(appDir, 'static')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user