Skip to content

Commit

Permalink
this time for sure
Browse files Browse the repository at this point in the history
  • Loading branch information
mattneub committed Sep 23, 2012
1 parent 48fc6aa commit 5ef634b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Rakefile
Expand Up @@ -5,13 +5,15 @@ task :test do
tm = `mdfind "kMDItemCFBundleIdentifier == 'com.macromates.textmate'"`
tm.chomp!
tm += "/Contents/SharedSupport/Support"
dir = File.dirname(File.expand_path(__FILE__))
ENV['TM_SUPPORT_PATH'] = tm

dir = File.dirname(File.expand_path(__FILE__))
tests = nil # make available from block
Dir.chdir dir do
tests = Dir.glob 'RubyFrontier.tmbundle/Support/tests/tc_*.rb'
tests = tests.map { |test| File.expand_path test }
end
tests = tests.map { |test| File.expand_path test }

$stdout.sync

RUBY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
Expand Down

0 comments on commit 5ef634b

Please sign in to comment.