middleman/bin/mm-build
tdreyno cf39b2e2cb Revert "update docs"
This reverts commit 43ac01af5c.
2009-10-26 09:33:38 -07:00

12 lines
No EOL
292 B
Ruby
Executable file

#!/usr/bin/env ruby
ENV['MM_ENV'] = "build"
# Require app
require File.join(File.dirname(__FILE__), "..", "lib", "middleman")
require 'middleman/builder'
#Middleman::Base.init!
Middleman::Builder.init!
Middleman::Generators.run_cli(Dir.pwd, 'mm-build', 1, %w(build --force).concat(ARGV))