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:
parent
5a22939b9d
commit
3975bcf994
1 changed files with 2 additions and 0 deletions
2
Rakefile
2
Rakefile
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue