middleman/bin/mm-build

9 lines
246 B
Text
Raw Normal View History

#!/usr/bin/env ruby
require "rubygems"
libdir = File.join(File.dirname(File.dirname(__FILE__)), "lib")
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
require 'middleman'
args = ARGV.dup.unshift("build")
Middleman::CLI.start(args)