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-build
2011-01-30 14:23:29 -08:00

13 lines
299 B
Ruby
Executable file

#!/usr/bin/env ruby
ENV['MM_ENV'] = "build"
# Require app
require File.join(File.dirname(__FILE__), "..", "lib", "middleman")
require 'middleman/builder'
# Initialize server once so features are loaded
Middleman::Server.new
# Middleman::ThorBuilder.source_root(Dir.pwd)
Middleman::Builder.start