Remove RPM directory before rebuilding

This commit is contained in:
Kevin Sawicki 2014-10-22 17:26:23 -07:00
parent 198d3e90c7
commit 9cfc451a79

View File

@ -25,7 +25,10 @@ module.exports = (grunt) ->
{name, version, description} = grunt.file.readJSON('package.json')
buildDir = grunt.config.get('atom.buildDir')
rpmDir = path.join(buildDir, 'rpm')
rm rpmDir
installDir = grunt.config.get('atom.installDir')
shareDir = path.join(installDir, 'share', 'atom')
iconName = path.join(shareDir, 'resources', 'app', 'resources', 'atom.png')