Sha256: 49db89046b01d5dcd17bbcbbfa6b655cfc2d6481b5d5978c78d02a216622317c
Contents?: true
Size: 445 Bytes
Versions: 13
Compression:
Stored size: 445 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'launchy' require 'kicker' require 'lib/smeg' Smeg.root_dir = Dir.pwd + "/spec/support" pid = fork { app = Rack::Builder.app { use Rack::Static, :root => Smeg.root_dir run Smeg::DevelopmentServer } Rack::Handler::Thin.run(app, :Port => 5000) } process do Smeg::Exporter.publish! end sleep 2 Launchy::Browser.run("http://localhost:5000/") at_exit { Process.kill("QUIT", pid) }
Version data entries
13 entries across 13 versions & 1 rubygems