Sha256: 1c6e91996d51fe472592a988766c9c1d99c23260f9cb615a537d692e33eda316
Contents?: true
Size: 532 Bytes
Versions: 2
Compression:
Stored size: 532 Bytes
Contents
require 'rake' require 'rspec/core/rake_task' require 'yard' RSpec::Core::RakeTask.new(:test) do |t| t.pattern = Dir.glob('spec/*_spec.rb') end YARD::Rake::YardocTask.new(:docs_via_yard) task :gem => [:doc] do gem_prefix = "JRUBY_GEM=yes " if RUBY_PLATFORM == "java" sh "#{gem_prefix}gem build dbmlite3" end task :clean do gems = Dir.glob("dbmlite3*.gem") rm gems if gems.size > 0 rm_rf "doc" end task :clobber => [:clean] do rm_rf ".yardoc" end task :doc => :docs_via_yard task :default => [:doc, :test, :gem]
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
dbmlite3_jruby-2.0.1 | Rakefile |
dbmlite3-2.0.1 | Rakefile |