From d3316d0b042ffa550ff56ed4e691c80003dd1414 Mon Sep 17 00:00:00 2001 From: mms Date: Fri, 27 Dec 2024 00:16:14 +0100 Subject: feat(new): server mode --- new/splash/bin/server.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 new/splash/bin/server.rb (limited to 'new/splash/bin/server.rb') 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 + -- cgit v1.2.3