Sha256: 9cb044f8981f6cc45de96a0fdc59446196fdfba901528fa7f52f655988636cd1
Contents?: true
Size: 746 Bytes
Versions: 3
Compression:
Stored size: 746 Bytes
Contents
require 'rake' require 'rake/rdoctask' require 'rake/testtask' $:.unshift File.expand_path('../lib', __FILE__) $:.unshift File.expand_path('../../hobo_support/lib', __FILE__) require 'dryml' # to get VERSION RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"') RUBYDOCTEST = ENV['RUBYDOCTEST'] || "#{RUBY} -S rubydoctest" desc "Default Task" task :default => [ :test ] # --- Testing --- # desc "Run all tests" task :test do |t| files=Dir['test/*.rdoctest'].map {|f| File.expand_path(f)}.join(' ') exit(1) if !system("#{RUBYDOCTEST} #{files}") end # --- RDOC --- # require 'yard' YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb', 'README', 'LICENSE.txt', 'CHANGES.txt'] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dryml-1.3.0.pre12 | Rakefile |
dryml-1.3.0.pre11 | Rakefile |
dryml-1.3.0.pre10 | Rakefile |