Sha256: a4b720490b59f4fcfc0bbe2afc2417123ca22fb5cf136990fc2e9ea747f67108

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 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: :environment do
    comment 'Installing gem dependencies using Bundler'
    command "#{fetch(:bundle_bin)} install #{fetch(:bundle_options)}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mina-1.0.0.beta1 tasks/mina/bundler.rb