middleman/bin/mm-build

14 lines
308 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 23:18:49 +01:00
require 'middleman/thor_builder'
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)
Middleman::ThorBuilder.start