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
|
*.lock
|
||||||
sync
|
sync
|
||||||
tmp/*
|
tmp/*
|
||||||
|
devbin
|
||||||
examples/*/stylesheets/*
|
examples/*/stylesheets/*
|
||||||
examples/*/*.html
|
examples/*/*.html
|
||||||
examples/*/*/*.html
|
examples/*/*/*.html
|
||||||
|
6
Rakefile
6
Rakefile
@ -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']
|
||||||
|
Loading…
Reference in New Issue
Block a user