Skip to content

Commit

Permalink
Merge rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Weber committed Nov 27, 2008
2 parents 17ddcfc + 0eb7146 commit 275f1b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ end

desc "run test"
task :test do
`#{ENV['BROWSER'] || 'konqueror'} #{Dir[ 'test/*_spec.html' ].join(' ')}`
test_files = Dir[ 'test/*_spec.html' ].join(' ')
run( "#{ENV['BROWSER'] || 'konqueror'} #{test_files}" ) do |r,s|
run( "#{SAFARI} #{test_files}" )
end
end

0 comments on commit 275f1b7

Please sign in to comment.