1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

also clean up rbc files

This commit is contained in:
Konstantin Haase 2011-02-19 11:24:09 +01:00
parent 5a22939b9d
commit 3975bcf994

View file

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