You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/Rakefile

27 lines
748 B

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
require 'rake'
CartoDB::Application.load_tasks
Rake.application.instance_variable_get('@tasks').delete('default')
namespace :spec do
desc "Run the code examples in spec/acceptance"
RSpec::Core::RakeTask.new(:cartodb_acceptance) do |t|
t.pattern = "spec/acceptance/**/*_spec.rb"
end
end
task :default => ["db:test:prepare", "spec:models", "spec:cartodb_acceptance"]
namespace :cartodb do
namespace :api do
desc "Create API documentation"
task :doc do
%x(rdoc app/controllers/api/*)
end
end
end