
* added refinerycms(-blog) as depencies * removed capybara (we won't do any browsertests here) * initialized refinery in dummy app
26 lines
569 B
Ruby
26 lines
569 B
Ruby
# encoding: UTF-8
|
|
require 'rubygems'
|
|
begin
|
|
require 'bundler/setup'
|
|
rescue LoadError
|
|
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
|
end
|
|
|
|
require 'rake'
|
|
require 'rdoc/task'
|
|
|
|
require 'rspec/core'
|
|
require 'rspec/core/rake_task'
|
|
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
|
|
task :default => :spec
|
|
|
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
rdoc.rdoc_dir = 'rdoc'
|
|
rdoc.title = 'Refinerycms-wordpress-import'
|
|
rdoc.options << '--line-numbers' << '--inline-source'
|
|
rdoc.rdoc_files.include('README.rdoc')
|
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
end
|