Sha256: 51a5f55ded83bbe6f6d8fedc0b81265f047d27c103923f8ced43e20fa9e1a717

Contents?: true

Size: 556 Bytes

Versions: 57

Compression:

Stored size: 556 Bytes

Contents

#!/usr/bin/env rake
require "rspec/core/rake_task"
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 "Default: run tests"
task default: [ :spec ]

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

57 entries across 57 versions & 1 rubygems

Version Path
onebox-1.8.89 Rakefile
onebox-1.8.88 Rakefile
onebox-1.8.87 Rakefile
onebox-1.8.86 Rakefile
onebox-1.8.85 Rakefile
onebox-1.8.84 Rakefile
onebox-1.8.83 Rakefile
onebox-1.8.82 Rakefile
onebox-1.8.81 Rakefile
onebox-1.8.80 Rakefile
onebox-1.8.79 Rakefile
onebox-1.8.78 Rakefile
onebox-1.8.77 Rakefile
onebox-1.8.76 Rakefile
onebox-1.8.75 Rakefile
onebox-1.8.74 Rakefile
onebox-1.8.73 Rakefile
onebox-1.8.72 Rakefile
onebox-1.8.71 Rakefile
onebox-1.8.70 Rakefile