Skip to content

Commit

Permalink
Use bundler in the rakefile too. rename test unit task to test
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Oct 11, 2010
1 parent 3bf2a02 commit 4c28d3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*.lock *.lock
sync sync
tmp/* tmp/*
devbin
examples/*/stylesheets/* examples/*/stylesheets/*
examples/*/*.html examples/*/*.html
examples/*/*/*.html examples/*/*/*.html
Expand Down
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Original file line Diff line number Diff line change
@@ -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 ------
Expand All @@ -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']
Expand Down

0 comments on commit 4c28d3d

Please sign in to comment.