Sha256: fae3acbe9610e9330ffe3afe65f7b17b833be751b6b16112fb1bf24c4839fcaf

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

task :default => :spec

def bundle_exec(command)
  sh %Q{bundle update && bundle exec #{command}}
end

desc "Run all specs"
task "spec" do
  bundle_exec("rspec spec")
end

namespace "doc" do
  desc "Generate README and preview in browser"
  task "readme" do
    sh "rdoc -c utf8 README.rdoc && open doc/README_rdoc.html"
  end
end

task :default => :spec

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
with_model-0.3.2 Rakefile
with_model-0.3.1 Rakefile
with_model-0.3 Rakefile