1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/bin/mm-build

12 lines
291 B
Text
Raw Normal View History

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