14 lines
308 B
Ruby
Executable file
14 lines
308 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
ENV['MM_ENV'] = "build"
|
|
|
|
# Require app
|
|
require File.join(File.dirname(__FILE__), "..", "lib", "middleman")
|
|
require 'middleman/thor_builder'
|
|
|
|
# Initialize server once so features are loaded
|
|
Middleman::Server.new
|
|
|
|
# Middleman::ThorBuilder.source_root(Dir.pwd)
|
|
Middleman::ThorBuilder.start
|