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