Sha256: e8d48f10a0bcea7763eb222c066e48bdd341488e8d5798b3791356a7038b9984

Contents?: true

Size: 587 Bytes

Versions: 77

Compression:

Stored size: 587 Bytes

Contents

#!/usr/bin/env rake
# frozen_string_literal: true

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

77 entries across 77 versions & 1 rubygems

Version Path
onebox-2.1.7 Rakefile
onebox-2.1.6 Rakefile
onebox-2.1.5 Rakefile
onebox-2.1.4 Rakefile
onebox-2.1.3 Rakefile
onebox-2.1.2 Rakefile
onebox-2.1.1 Rakefile
onebox-2.1.0 Rakefile
onebox-2.0.2 Rakefile
onebox-2.0.1 Rakefile
onebox-2.0.0 Rakefile
onebox-1.9.30 Rakefile
onebox-1.9.29 Rakefile
onebox-1.9.28.4 Rakefile
onebox-1.9.28.3 Rakefile
onebox-1.9.28.2 Rakefile
onebox-1.9.28.1 Rakefile
onebox-1.9.28 Rakefile
onebox-1.9.27.2 Rakefile
onebox-1.9.27.1 Rakefile