Sha256: 1ac631c6a23f2e6d747fdbfbcdb40c9507f30beae60c1936ac4608af1082f8c9
Contents?: true
Size: 1001 Bytes
Versions: 4
Compression:
Stored size: 1001 Bytes
Contents
#!/usr/bin/env rake begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end namespace :ci do task :db_travis_config do cp "config/database.yml.travis", "config/database.yml" end end begin require 'rdoc/task' rescue LoadError require 'rdoc/rdoc' require 'rake/rdoctask' RDoc::Task = Rake::RDocTask end RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Ninoxe' rdoc.options << '--line-numbers' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__) load 'rails/tasks/engine.rake' Bundler::GemHelper.install_tasks require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) RSpec::Core::RakeTask.new(:rcov) do |t| t.rcov = true t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/,lib\/database_cleaner\/} end task :spec => "app:db:test:prepare"
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ninoxe-1.2.3 | Rakefile |
ninoxe-1.2.2 | Rakefile |
ninoxe-1.2.1 | Rakefile |
ninoxe-1.2.0 | Rakefile |