Sha256: 1f462de046ac7935d137a11c14dee816b01037cfb17f4a679f6c1cc6648a7192

Contents?: true

Size: 771 Bytes

Versions: 8

Compression:

Stored size: 771 Bytes

Contents

#!/usr/bin/env ruby

# Add our lib/ directory to the path
libdir = File.expand_path(File.join(File.dirname(File.dirname(__FILE__)), "lib"))
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)

moredir = File.expand_path(File.join(File.dirname(File.dirname(libdir)), "middleman-more", "lib", "middleman-more"))
$LOAD_PATH.unshift(moredir) unless $LOAD_PATH.include?(moredir)

require 'middleman-core/profiling'
if ARGV.include? '--profile'
  Middleman::Profiling.profiler = Middleman::Profiling::RubyProfProfiler.new
end
Middleman::Profiling.start

require "middleman-core/load_paths"
Middleman.setup_load_paths

require "middleman-core/cli"

# Change directory to the root
Dir.chdir(ENV["MM_ROOT"]) if ENV["MM_ROOT"]

# Start the CLI
Middleman::Cli::Base.start

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
middleman-core-x86-mingw32-3.0.4 bin/middleman
middleman-core-3.0.4 bin/middleman
middleman-core-x86-mingw32-3.0.3 bin/middleman
middleman-core-x86-mingw32-3.0.2 bin/middleman
middleman-core-3.0.2 bin/middleman
middleman-core-x86-mingw32-3.0.1 bin/middleman
middleman-core-x86-mingw32-3.0.1.pre bin/middleman
middleman-core-3.0.1.pre bin/middleman