Initial Gemfile for dependencies. Touched a .gitignore for the various

folders needed.
This commit is contained in:
Mitchell Hashimoto 2010-01-21 19:09:18 -08:00
parent 050bfd9c68
commit 6a8d6bcaf4
6 changed files with 42 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
bin/gembin/*
vendor/gems/*

17
Gemfile Normal file
View File

@ -0,0 +1,17 @@
# Gems required for the lib to even run
gem "net-ssh", ">= 2.0.19"
# Gems required for testing only. To install run
# gem bundle test
only :test do
gem "contest", ">= 0.1.2"
gem "mocha", ">= 0.9.8"
end
# Since hobo uses bin/, change the bin_path to something
# else...
bin_path "bin/gembin"
# Makes sure that our code doesn't request gems outside
# of our dependency list.
disable_system_gems

23
Rakefile Normal file
View File

@ -0,0 +1,23 @@
begin
require File.join(File.dirname(__FILE__), 'vendor', 'gems', 'environment')
rescue LoadError
puts <<-ENVERR
==================================================
ERROR: Gem environment file not found!
Hobo uses bundler to handle gem dependencies. To setup the
test environment, please run `gem bundle test` If you don't
have bundler, you can install that with `gem install bundler`
==================================================
ENVERR
exit
end
require 'rake/testtask'
task :default => :test
Rake::TestTask.new do |t|
t.libs << "test"
t.pattern = 'test/*_test.rb'
end

0
bin/.gitignore vendored Normal file
View File

0
lib/.gitignore vendored Normal file
View File

0
test/.gitignore vendored Normal file
View File