middleman/bin/mm-build

14 lines
299 B
Plaintext
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:23:29 +01:00
require 'middleman/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)
2011-01-30 23:23:29 +01:00
Middleman::Builder.start