Sha256: 0cbb9dad8e4b6f540cb01158010b9c6867947d3142ef3bd187b51b4c960c9144

Contents?: true

Size: 720 Bytes

Versions: 15

Compression:

Stored size: 720 Bytes

Contents

require 'mina/default'

set :bundle_bin, 'bundle'
set :bundle_path, 'vendor/bundle'
set :bundle_withouts, 'development test'
set :bundle_options, -> { %{--without #{fetch(:bundle_withouts)} --path "#{fetch(:bundle_path)}" --deployment} }
set :shared_dirs, fetch(:shared_dirs, []).push(fetch(:bundle_path))

namespace :bundle do
  desc 'Install gem dependencies using Bundler.'
  task :install do
    comment %{Installing gem dependencies using Bundler}
    command %{#{fetch(:bundle_bin)} install #{fetch(:bundle_options)}}
  end

  desc 'Cleans up unused gems in your bundler directory'
  task :clean do
    comment %{Cleans up unsed gems}
    command %{#{fetch(:bundle_bin)} clean #{fetch(:bundle_options)}}
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mina-1.2.4 tasks/mina/bundler.rb
mina-1.2.3 tasks/mina/bundler.rb
mina-1.2.2 tasks/mina/bundler.rb
mina-1.2.1 tasks/mina/bundler.rb
mina-1.2.0 tasks/mina/bundler.rb
mina-1.1.1 tasks/mina/bundler.rb
mina-1.1.0 tasks/mina/bundler.rb
mina-1.0.7 tasks/mina/bundler.rb
mina-1.0.6 tasks/mina/bundler.rb
mina-1.0.5 tasks/mina/bundler.rb
mina-1.0.4 tasks/mina/bundler.rb
mina-1.0.3 tasks/mina/bundler.rb
mina-1.0.2 tasks/mina/bundler.rb
mina-1.0.0 tasks/mina/bundler.rb
mina-1.0.0.rc2 tasks/mina/bundler.rb