Force removal of pkg dir

This commit is contained in:
Corey Johnson
2012-04-02 09:08:04 -07:00
parent edbd378879
commit 3c193a2328

View File

@@ -17,7 +17,7 @@ end
desc "Create the Atom.app for distribution"
task :package => :build do
if path = application_path()
FileUtils.rm_r "pkg"
FileUtils.rm_rf "pkg"
FileUtils.mkdir_p "pkg"
FileUtils.cp_r path, "pkg/"
`cd pkg && zip -r atom.zip .`