Use bundler in the rakefile too. rename test unit task to test
This commit is contained in:
parent
3bf2a029b2
commit
4c28d3d841
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@
|
||||
*.lock
|
||||
sync
|
||||
tmp/*
|
||||
devbin
|
||||
examples/*/stylesheets/*
|
||||
examples/*/*.html
|
||||
examples/*/*/*.html
|
||||
|
6
Rakefile
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']
|
||||
|
Loading…
Reference in New Issue
Block a user