Sha256: 464e04fb939392e682fac007cdac08797bae132b9f12898a626de2abbf35da87

Contents?: true

Size: 536 Bytes

Versions: 9

Compression:

Stored size: 536 Bytes

Contents

#!/usr/bin/env ruby

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-cli"

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

# Default command is server
if ARGV[0] != 'help' && (ARGV.length < 1 || ARGV.first.include?('-'))
  ARGV.unshift('server')
end

# Start the CLI
Middleman::Cli::Base.start(ARGV)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
middleman-cli-4.1.0.rc.2 bin/middleman
middleman-cli-4.1.0.rc.1 bin/middleman
middleman-cli-4.0.0 bin/middleman
middleman-cli-4.0.0.rc.3 bin/middleman
middleman-cli-4.0.0.rc.2 bin/middleman
middleman-cli-4.0.0.rc.1 bin/middleman
middleman-cli-4.0.0.beta.2 bin/middleman
middleman-cli-4.0.0.beta.1 bin/middleman
middleman-cli-4.0.0.alpha.6 bin/middleman