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

This commit is contained in:
Chris Eppstein 2010-09-12 09:19:29 -07:00
parent 3bf2a029b2
commit 4c28d3d841
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
*.lock *.lock
sync sync
tmp/* tmp/*
devbin
examples/*/stylesheets/* examples/*/stylesheets/*
examples/*/*.html examples/*/*.html
examples/*/*/*.html examples/*/*/*.html

View File

@ -1,6 +1,6 @@
require 'rubygems' require 'rubygems'
require 'rake' require 'bundler'
$:.unshift File.join(File.dirname(__FILE__), 'lib') Bundler.setup
require 'compass' require 'compass'
# ----- Default: Testing ------ # ----- Default: Testing ------
@ -10,7 +10,7 @@ task :default => :run_tests
require 'rake/testtask' require 'rake/testtask'
require 'fileutils' require 'fileutils'
Rake::TestTask.new :run_tests do |t| Rake::TestTask.new :test do |t|
t.libs << 'lib' t.libs << 'lib'
t.libs << 'test' t.libs << 'test'
test_files = FileList['test/**/*_test.rb'] test_files = FileList['test/**/*_test.rb']