middleman/bin/mm-build
2011-01-30 14:18:49 -08:00

13 lines
308 B
Ruby
Executable file

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