Rakefile in onebox-1.5.10 vs Rakefile in onebox-1.5.11
- old
+ new
@@ -18,5 +18,14 @@
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