Support profiling server startup and build via a --profile flag
This commit is contained in:
parent
3f21f7bc62
commit
00b590eedb
7 changed files with 81 additions and 6 deletions
|
@ -9,7 +9,6 @@ module Middleman
|
|||
|
||||
# The base task from which everything else etends
|
||||
class Base < Thor
|
||||
|
||||
class << self
|
||||
def start(*args)
|
||||
# Change flag to a module
|
||||
|
@ -23,7 +22,7 @@ module Middleman
|
|||
super
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
desc "version", "Show version"
|
||||
def version
|
||||
require 'middleman-core/version'
|
||||
|
@ -87,4 +86,4 @@ require "middleman-core/cli/init"
|
|||
require "middleman-core/cli/bundler"
|
||||
require "middleman-core/cli/extension"
|
||||
require "middleman-core/cli/server"
|
||||
require "middleman-core/cli/build"
|
||||
require "middleman-core/cli/build"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue