Permalink
Browse files

Adding a cleanup task to the Rakefile.

  • Loading branch information...
1 parent c500da1 commit a3b787d62785bb4dc48290feeae148d5075f931e Pete Elmore committed Feb 19, 2009
Showing with 7 additions and 0 deletions.
  1. +7 −0 Rakefile
View
@@ -1,6 +1,7 @@
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'lib/live_console_config'
+require 'fileutils'
$: << "#{File.dirname(__FILE__)}/lib"
@@ -51,6 +52,12 @@ task(:irb) {
exec "irb -Ilib -r#{spec.name}"
}
+desc "Cleans up the pkg directory."
+task(:clean) {
+ FileUtils.rm_rf 'pkg'
+}
+
+
desc "Generates a static gemspec file; useful for github."
task(:static_gemspec) {
# This whole thing is hacky.

0 comments on commit a3b787d

Please sign in to comment.