mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
12 lines
No EOL
293 B
Ruby
Executable file
12 lines
No EOL
293 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)) |