1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/bin/mm-server
2009-09-28 19:43:08 -07:00

9 lines
No EOL
244 B
Ruby
Executable file

#!/usr/bin/env ruby
# Require Middleman
require File.join(File.dirname(__FILE__), '..', 'lib', 'middleman')
# Start Middleman
Middleman::Base.set({ :server => %w[thin webrick],
:root => Dir.pwd })
Middleman::Base.init!