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