13 lines
299 B
Ruby
Executable file
13 lines
299 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'
|
|
|
|
# Initialize server once so features are loaded
|
|
Middleman::Server.new
|
|
|
|
# Middleman::ThorBuilder.source_root(Dir.pwd)
|
|
Middleman::Builder.start
|