Sha256: f7b7bde3d202dc550a5107f8236c35017479f888521fe6cabc12dabce8205cf9

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

#!/usr/bin/env ruby
spackle_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(spackle_dir) unless $LOAD_PATH.include?(spackle_dir)

require 'spackle/helpers/ruby_project_root'

project_root = Spackle::Helpers::RubyProjectRoot.search Dir.pwd

if project_root.nil?
  exit 1
else
  puts project_root
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spackle-0.0.1 bin/ruby-project-root