Sha256: f15fe9ac91fba1a99699f289e0f6a314d6cdf28f86b0a544a137ecec87ae3212
Contents?: true
Size: 814 Bytes
Versions: 7
Compression:
Stored size: 814 Bytes
Contents
# frozen_string_literal: true module Bauble module Cli # bundle command builder class BundleCommandBuilder def initialize @commands = [] end def with_bundle_without(groups) @commands << "bundle config set without #{groups.join(' ')}" self end def with_bundle_path(path) @commands << "bundle config set path #{path}" self end def with_bauble_gem_override @commands << 'bundle config local.bauble_core /var/task/bauble_core' self end def with_bundle_install @commands << 'bundle install' self end def with_dot_bundle_cleanup @commands << 'rm -rf .bundle' self end def build @commands.join(' && ') end end end end
Version data entries
7 entries across 7 versions & 1 rubygems