Sha256: b055a9803b40009ff6d1445d1b487300d96c10240d65b013f2e5f9a0dd9e2d2a
Contents?: true
Size: 771 Bytes
Versions: 5
Compression:
Stored size: 771 Bytes
Contents
require 'rake' require "rake/rdoctask" begin require 'spec/rake/spectask' rescue LoadError puts <<-EOS To use rspec for testing you must install the rspec gem: gem install rspec EOS exit(0) end desc "Run all specs" Spec::Rake::SpecTask.new(:spec) do |t| t.spec_opts = ['-cfs'] t.spec_files = FileList['test/**/*_spec.rb'] end desc "Print SpecDocs" Spec::Rake::SpecTask.new(:doc) do |t| t.spec_opts = ["--format", "specdoc"] t.spec_files = FileList['test/*_spec.rb'] end desc "Generate the RDoc" Rake::RDocTask.new do |rdoc| files = ["README.md", "LICENSE", "lib/**/*.rb"] rdoc.rdoc_files.add(files) rdoc.main = "README.md" rdoc.title = "Git Store - using Git as versioned data store in Ruby" end desc "Run the rspec" task :default => :spec
Version data entries
5 entries across 5 versions & 4 rubygems
Version | Path |
---|---|
georgi-git_store-0.2.4 | Rakefile |
georgi-git_store-0.3 | Rakefile |
jugyo-gitki-0.1.0 | vendor/git_store/Rakefile |
git_store-0.3.1 | Rakefile |
gitki-0.1.0 | vendor/git_store/Rakefile |