summaryrefslogtreecommitdiff
path: root/new/splash/bin/server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'new/splash/bin/server.rb')
-rwxr-xr-xnew/splash/bin/server.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/new/splash/bin/server.rb b/new/splash/bin/server.rb
new file mode 100755
index 0000000..d932b53
--- /dev/null
+++ b/new/splash/bin/server.rb
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+
+require_relative "../lib/splash.rb"
+require_relative "../../bin/server.rb"
+
+server_class = Crys::Splash::Server
+
+root = File.dirname(File.dirname(__FILE__)) + "/output"
+Crys::ServerRunner.new(root: root, server_class: server_class).serve
+