yahns.git  about / heads / tags
sleepy, multi-threaded, non-blocking application server for Ruby
blob 321663813474ce231dc27caad784fa9c63b8f287 461 bytes (raw)
$ git show maint:bin/yahns-rackup	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 
#!/this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby
# -*- encoding: binary -*-
# Copyright (C) 2013-2016 all contributors <yahns-public@yhbt.net>
# License: GPL-3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)
# frozen_string_literal: true
require 'yahns/rackup_handler'
ARGV.grep(/\A(?:-s|--server)/)[0] and abort "--server has no effect for #$0"
ARGV[0, 0] = %w(-s yahns)
Rack::Handler.register('yahns', 'Yahns::RackupHandler')
Rack::Server.start

git clone git://yhbt.net/yahns.git
git clone https://yhbt.net/yahns.git