Sha256: b65b87d277a35b6d907150cf277e18fa32ed9172dc23d92c9222cdaa7a1224dc
Contents?: true
Size: 812 Bytes
Versions: 6
Compression:
Stored size: 812 Bytes
Contents
# # Rakefile.rb # # Created on 02.10.2007, 11:40:17 # # To change this template, choose Tools | Templates # and open the template in the editor. require 'rake' require 'rake/clean' require 'rake/testtask' require 'rake/rdoctask' task :default => [:test] Rake::RDocTask.new do |t| t.rdoc_files.include("lib/**/*.rb") end desc "Run all tests" task :test => :test_units desc "Run unit tests" Rake::TestTask.new("test_units") do |t| t.pattern = '../test/*_test.rb' t.verbose = true t.warning = true end desc "List all lines with TODO, FIXME or XXX in ruby source files" task :todo do FileList.new("**/*.rb").each do |source| File.open(source) do |f| f.each_line do |line| puts "#{source}, #{f.lineno}: #{line.strip}" if line =~ /(FIXME|TODO|XXX)/ end end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
rtm-0.1.0 | lib/Rakefile.rb |
rtm-0.1.3 | lib/Rakefile.rb |
rtm-0.1.5 | lib/Rakefile.rb |
rtm-0.1.1 | lib/Rakefile.rb |
rtm-0.1.4 | lib/Rakefile.rb |
rtm-0.1.6 | lib/Rakefile.rb |