Sha256: e7e9d091406521cb0e13a3d59e5c816c2d343b4e9c817b5ddb29483f157b860d
Contents?: true
Size: 705 Bytes
Versions: 4
Compression:
Stored size: 705 Bytes
Contents
# CLI Module module Middleman::Cli # A initializing Bundler class Bundle < Thor include Thor::Actions check_unknown_options! namespace :bundle desc 'bundle', 'Setup initial bundle', :hide => true # The setup task def bundle run('bundle install')#, :capture => true) end end # A upgrading Bundler class Upgrade < Thor include Thor::Actions check_unknown_options! namespace :upgrade desc 'upgrade', 'Upgrade installed bundle' # The upgrade task def upgrade inside(ENV['MM_ROOT']) do run('bundle update')#, :capture => true) end end end # Map "u" to "upgrade" Base.map({ 'u' => 'upgrade' }) end
Version data entries
4 entries across 4 versions & 1 rubygems