2008-08-23 17:00:46 +00:00
|
|
|
need_gems = false
|
|
|
|
|
|
|
|
# allows testing with edge Haml by creating a test/haml symlink
|
|
|
|
linked_haml = File.dirname(__FILE__) + '/haml'
|
|
|
|
|
|
|
|
if File.exists?(linked_haml) && !$:.include?(linked_haml + '/lib')
|
|
|
|
puts "[ using linked Haml ]"
|
|
|
|
$:.unshift linked_haml + '/lib'
|
2009-05-07 17:24:32 +00:00
|
|
|
require 'sass'
|
2008-08-23 17:00:46 +00:00
|
|
|
else
|
|
|
|
need_gems = true
|
|
|
|
end
|
|
|
|
|
|
|
|
require 'rubygems' if need_gems
|
|
|
|
|
2009-05-19 18:27:29 +00:00
|
|
|
require 'compass'
|
2008-08-23 17:00:46 +00:00
|
|
|
|
|
|
|
require 'test/unit'
|
2009-01-19 15:53:51 +00:00
|
|
|
|
2009-05-19 18:27:29 +00:00
|
|
|
require File.join(File.dirname(__FILE__), 'test_case_helper')
|
2009-08-25 21:18:58 +00:00
|
|
|
require File.join(File.dirname(__FILE__), 'io_helper')
|
2009-06-12 18:00:04 +00:00
|
|
|
require File.join(File.dirname(__FILE__), 'command_line_helper')
|