Class: Nib::Setup

Inherits:
Object
  • Object
show all
Includes:
Command
Defined in:
lib/nib/setup.rb

Constant Summary collapse

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

Method Summary

Methods included from Command

#alternate_compose_file, #entrypoint, #execute, included, #initialize, #script