Permalink
Browse files

Update Rakefile, use Bundler and Guard.

  • Loading branch information...
1 parent a64a01d commit a12e1d0b3b692431d793de65f02e9727bce5fbd9 @rymai committed Feb 7, 2012
Showing with 31 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +21 −0 Gemfile
  3. +8 −0 Guardfile
  4. +1 −1 Rakefile
View
1 .gitignore
@@ -20,3 +20,4 @@ pkg
*.gemspec
## PROJECT::SPECIFIC
+Gemfile.lock
View
21 Gemfile
@@ -0,0 +1,21 @@
+# A sample Gemfile
+source "http://rubygems.org"
+
+gem "jeweler"
+
+group :development, :test do
+ gem "test-unit"
+end
+
+group :development do
+ gem 'rb-fsevent'
+ gem 'ruby_gntp'
+ platforms :ruby do
+ gem 'rb-readline'
+ end
+ gem "guard-test"
+end
+
+group :test do
+ gem "shoulda"
+end
View
8 Guardfile
@@ -0,0 +1,8 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard :test do
+ watch(%r{^lib/(.+)\.rb$}) { |m| "test/test_#{m[1]}.rb" }
+ watch(%r{^test/test_.+\.rb$})
+ watch('test/helper.rb') { "test" }
+end
View
2 Rakefile
@@ -46,7 +46,7 @@ task :test => :check_dependencies
task :default => :test
-require 'rake/rdoctask'
+require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

0 comments on commit a12e1d0

Please sign in to comment.