Sha256: 7c34e080adfae84bafde723665391f166d4716764a4d1054daa2d718b42bfb82

Contents?: true

Size: 711 Bytes

Versions: 81

Compression:

Stored size: 711 Bytes

Contents

#!/usr/bin/env rake
require "rspec/core/rake_task"
require "yard"
require 'bundler'

begin
  Bundler.setup :default, :development
  Bundler::GemHelper.install_tasks
rescue Bundler::BundlerError => error
  $stderr.puts error.message
  $stderr.puts "Run `bundle install` to install missing gems"
  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 ]

task :server do
  require 'onebox/web'
  app = Onebox::Web
  app.set :environment, :development
  app.set :bind, '127.0.0.1'
  app.set :port, 9000
  app.run!
end

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
onebox-1.6.2 Rakefile
onebox-1.6.1 Rakefile
onebox-1.6.0 Rakefile
onebox-1.5.65 Rakefile
onebox-1.5.64 Rakefile
onebox-1.5.63 Rakefile
onebox-1.5.62 Rakefile
onebox-1.5.61 Rakefile
onebox-1.5.60 Rakefile
onebox-1.5.50 Rakefile
onebox-1.5.49 Rakefile
onebox-1.5.48 Rakefile
onebox-1.5.47 Rakefile
onebox-1.5.45 Rakefile
onebox-1.5.44 Rakefile
onebox-1.5.43 Rakefile
onebox-1.5.42 Rakefile
onebox-1.5.41 Rakefile
onebox-1.5.40 Rakefile
onebox-1.5.39 Rakefile