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")
|
|
|
|
require 'middleman/builder'
|
|
|
|
|
2009-11-30 20:32:02 +01:00
|
|
|
# Middleman::Base.init!
|
2009-10-23 02:25:15 +02:00
|
|
|
Middleman::Builder.init!
|
|
|
|
|
|
|
|
Middleman::Generators.run_cli(Dir.pwd, 'mm-build', 1, %w(build --force).concat(ARGV))
|