Subversion Repositories pub

Compare Revisions

No changes between revisions

Ignore whitespace Rev 109 → Rev 110

/wp-js-syntax-highlighter/branches/0.4.2+3.0.83/sh/tests/webrick.rb
0,0 → 1,11
require 'webrick'
include WEBrick
 
s = HTTPServer.new(
:Port => 2010,
:DocumentRoot => Dir::pwd
)
s.mount('/sh/scripts', WEBrick::HTTPServlet::FileHandler, '../scripts')
s.mount('/sh/styles', WEBrick::HTTPServlet::FileHandler, '../styles')
trap('INT') { s.stop }
s.start
Property changes:
Added: svn:executable
+*
\ No newline at end of property