Sha256: 143abe94c4d3e284372cc40c72633e9d983b56890956d02abd9419fe6ac1de47

Contents?: true

Size: 624 Bytes

Versions: 1

Compression:

Stored size: 624 Bytes

Contents

#!/usr/bin/env ruby

# Disable stdout,stderr buffering
STDERR.sync = STDOUT.sync = true

# Set the process name before we go to far in
$PROGRAM_NAME = 'buildbox'

# Add the buildbox lib directory to the load path
root_dir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
lib_dir  = File.join(root_dir, 'lib')
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)

# Setup bundler correctly
ENV['BUNDLE_GEMFILE'] ||= File.join(root_dir, "Gemfile")
require 'bundler'
Bundler.setup(:default)

require 'buildbox'
Buildbox.logger.level = Logger::DEBUG if ENV['DEBUG'] == 'true'
Buildbox::CLI.new(ARGV).parse

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
buildbox-0.3.6 bin/buildbox