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
sync
tmp/*
devbin
examples/*/stylesheets/*
examples/*/*.html
examples/*/*/*.html

View File

@ -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']