middleman/bin/mm-build

14 lines
299 B
Text
Raw Normal View History

#!/usr/bin/env ruby
ENV['MM_ENV'] = "build"
# Require app
require File.join(File.dirname(__FILE__), "..", "lib", "middleman")
2011-01-30 14:23:29 -08:00
require 'middleman/builder'
2010-10-20 09:28:57 -07:00
# Initialize server once so features are loaded
Middleman::Server.new
2011-01-30 14:18:49 -08:00
# Middleman::ThorBuilder.source_root(Dir.pwd)
2011-01-30 14:23:29 -08:00
Middleman::Builder.start