Sha256: a6187fb3662c75286d386cca83abea92057d02b2d360e4355385cad984adaf4c

Contents?: true

Size: 365 Bytes

Versions: 8

Compression:

Stored size: 365 Bytes

Contents

#!/usr/bin/env ruby

puts "Bundling..."
system %{bundle}

puts "Installing git hooks"
system %{script/install-git-hooks}

bundle = File.file?('Gemfile') ? 'bundle exec' : ''

command = [ bundle, 'rake', '-s', '-T', 'bootstrap' ]

if !(%x{#{command.join(' ')}}).empty?
  puts "Trying to run rake bootstrap..."
  system %{#{bundle} rake bootstrap}
end

puts "Done!"

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
penchant-0.2.29 script/initialize-environment
penchant-0.2.29 template/script/initialize-environment
penchant-0.2.28 template/script/initialize-environment
penchant-0.2.28 script/initialize-environment
penchant-0.2.27 script/initialize-environment
penchant-0.2.27 template/script/initialize-environment
penchant-0.2.26 script/initialize-environment
penchant-0.2.26 template/script/initialize-environment