2009-10-22 17:25:15 -07:00
|
|
|
#!/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'
|
2009-10-22 17:25:15 -07:00
|
|
|
|
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
|