mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 18:24:09 +03:00
17 lines
495 B
CoffeeScript
17 lines
495 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 require('../src/coffee-cache').cacheDir
|
|
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')
|