Rakefile in onebox-1.8.30 vs Rakefile in onebox-1.8.31
- old
+ new
@@ -1,8 +1,7 @@
#!/usr/bin/env rake
require "rspec/core/rake_task"
-require "yard"
require 'bundler'
begin
Bundler.setup :default, :development
Bundler::GemHelper.install_tasks
@@ -12,16 +11,11 @@
exit error.status_code
end
RSpec::Core::RakeTask.new(:spec)
-desc "Generate all of the docs"
-YARD::Rake::YardocTask.new do |config|
- config.files = Dir["lib/**/*.rb"]
-end
-
-desc "Default: run tests and generate docs"
-task default: [ :spec, :yard ]
+desc "Default: run tests"
+task default: [ :spec ]
task :server do
require 'onebox/web'
app = Onebox::Web
app.set :environment, :development