Files
atom/tasks/clean-task.coffee
Kevin Sawicki 1512029864 Remove deletion of node directory
This directory is no longer at the root of the repo
2013-09-03 14:13:04 -07:00

16 lines
479 B
CoffeeScript

path = require 'path'
module.exports = (grunt) ->
{rm} = require('./task-helpers')(grunt)
grunt.registerTask 'partial-clean', 'Delete some of the build files', ->
rm grunt.config.get('atom.buildDir')
rm '/tmp/atom-coffee-cache'
rm '/tmp/atom-cached-atom-shells'
rm 'atom-shell'
grunt.registerTask 'clean', 'Delete all the build files', ->
rm 'node_modules'
rm path.join(process.env.HOME, '.atom', '.node-gyp')
grunt.task.run('partial-clean')