Skip to content
Browse files

Use bundler in the rakefile too. rename test unit task to `test`

  • Loading branch information...
1 parent 3bf2a02 commit 4c28d3d84132c70c21b392522e2edba70e7dae3e @chriseppstein chriseppstein committed Sep 12, 2010
Showing with 4 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +3 −3 Rakefile
View
1 .gitignore
@@ -3,6 +3,7 @@
*.lock
sync
tmp/*
+devbin
examples/*/stylesheets/*
examples/*/*.html
examples/*/*/*.html
View
6 Rakefile
@@ -1,6 +1,6 @@
require 'rubygems'
-require 'rake'
-$:.unshift File.join(File.dirname(__FILE__), 'lib')
+require 'bundler'
+Bundler.setup
require 'compass'
# ----- Default: Testing ------
@@ -10,7 +10,7 @@ task :default => :run_tests
require 'rake/testtask'
require 'fileutils'
-Rake::TestTask.new :run_tests do |t|
+Rake::TestTask.new :test do |t|
t.libs << 'lib'
t.libs << 'test'
test_files = FileList['test/**/*_test.rb']

0 comments on commit 4c28d3d

Please sign in to comment.
Something went wrong with that request. Please try again.