Skip to content

Commit

Permalink
remove extension specific globs from clean/clobber
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Jarvis committed Apr 29, 2011
1 parent a6bf33e commit 6866088
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Rakefile
@@ -1,14 +1,11 @@
dlext = Config::CONFIG['DLEXT']
direc = File.dirname(__FILE__)

require 'rake/clean'
require 'rake/gempackagetask'
require "#{direc}/lib/pry/version"

CLOBBER.include("**/*.#{dlext}", "**/*~", "**/*#*", "**/*.log", "**/*.o")
CLEAN.include("ext/**/*.#{dlext}", "ext/**/*.log", "ext/**/*.o",
"ext/**/*~", "ext/**/*#*", "ext/**/*.obj", "**/*#*", "**/*#*.*",
"ext/**/*.def", "ext/**/*.pdb", "**/*_flymake*.*", "**/*_flymake", "**/*.rbc")
CLOBBER.include("**/*.#{dlext}", "**/*~", "**/*#*", "**/*.log")
CLEAN.include("**/*#*", "**/*#*.*", "**/*_flymake*.*", "**/*_flymake", "**/*.rbc")

def apply_spec_defaults(s)
s.name = "pry"
Expand Down

0 comments on commit 6866088

Please sign in to comment.