Don't precompile LESS files

This commit is contained in:
Kevin Sawicki
2013-09-16 12:36:24 -07:00
parent c8fc7b8400
commit c80afda593
2 changed files with 4 additions and 4 deletions

View File

@@ -172,7 +172,7 @@ module.exports = (grunt) ->
grunt.loadNpmTasks('grunt-shell')
grunt.loadTasks('tasks')
grunt.registerTask('compile', ['coffee', 'less', 'cson'])
grunt.registerTask('compile', ['coffee', 'cson'])
grunt.registerTask('lint', ['coffeelint', 'csslint', 'lesslint'])
grunt.registerTask('test', ['shell:kill-atom', 'shell:test'])
grunt.registerTask('ci', ['lint', 'update-atom-shell', 'build', 'set-development-version', 'test'])

View File

@@ -49,11 +49,11 @@ module.exports = (grunt) ->
for directory in nonPackageDirectories
cp directory, path.join(appDir, directory), filter: nodeModulesFilter
for directory in packageDirectories
cp directory, path.join(appDir, directory), filter: /.+\.(cson|coffee|less)$/
cp directory, path.join(appDir, directory), filter: /.+\.(cson|coffee)$/
cp 'spec', path.join(appDir, 'spec')
cp 'src', path.join(appDir, 'src'), filter: /.+\.(cson|coffee|less)$/
cp 'static', path.join(appDir, 'static'), filter: /.+\.less$/
cp 'src', path.join(appDir, 'src'), filter: /.+\.(cson|coffee)$/
cp 'static', path.join(appDir, 'static')
grunt.file.recurse path.join('resources', 'mac'), (sourcePath, rootDirectory, subDirectory='', filename) ->
unless /.+\.plist/.test(sourcePath)