middleman/bin/mm-build

12 lines
292 B
Plaintext
Raw Normal View History

2009-07-28 01:25:32 +02:00
#!/usr/bin/env ruby
2009-09-29 19:10:47 +02:00
ENV['MM_ENV'] = "build"
2009-09-29 04:43:08 +02:00
# Require app
2009-09-29 19:10:47 +02:00
require File.join(File.dirname(__FILE__), "..", "lib", "middleman")
require 'middleman/builder'
2009-10-16 01:31:05 +02:00
#Middleman::Base.init!
Middleman::Builder.init!
2009-09-29 19:10:47 +02:00
2009-10-08 19:49:23 +02:00
Middleman::Generators.run_cli(Dir.pwd, 'mm-build', 1, %w(build --force).concat(ARGV))