middleman/bin/mm-build
2011-01-30 14:23:29 -08:00

14 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