also clean up rbc files

This commit is contained in:
Konstantin Haase 2011-02-19 11:24:09 +01:00
parent 5a22939b9d
commit 3975bcf994
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ require 'date'
task :default => :test
task :spec => :test
CLEAN.include "**/*.rbc"
def source_version
line = File.read('lib/sinatra/base.rb')[/^\s*VERSION = .*/]
line.match(/.*VERSION = '(.*)'/)[1]