Sha256: 1b7f83bfa5d8d99a638e73edb3c11a1c16260156ec23dfa0baad15d2d308330a

Contents?: true

Size: 389 Bytes

Versions: 6

Compression:

Stored size: 389 Bytes

Contents

class Nib::Setup
  include Nib::Command

  SCRIPT = <<~SH.freeze
    if [ -f bin/setup.before ]; then
      bin/setup.before
    fi

    if [ -f bin/setup ]; then
      bin/setup
    else
      gem install bundler
      bundle install --jobs 4
    fi

    if [ -f bin/setup.after ]; then
      bin/setup.after
    fi
  SH

  private

  def command
    "/bin/sh -c \"#{SCRIPT}\""
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nib-1.4.0 lib/nib/setup.rb
nib-1.3.0 lib/nib/setup.rb
nib-1.2.2 lib/nib/setup.rb
nib-1.2.1 lib/nib/setup.rb
nib-1.2.0 lib/nib/setup.rb
nib-1.1.0 lib/nib/setup.rb