Rename sources.yaml to jasmine.yaml. Add stylesheets support to jasmine yaml. Allow dir glob strings in jasmine.yaml file enumerations

This commit is contained in:
ragaskar
2010-01-26 21:34:03 -08:00
parent 0b02e82229
commit 95a6085a01
10 changed files with 149 additions and 74 deletions

View File

@@ -37,9 +37,9 @@ if ARGV[0] == 'init'
rails_tasks_dir = dest_path('lib/tasks')
if File.exist?(rails_tasks_dir)
copy_unless_exists('lib/tasks/jasmine.rake')
copy_unless_exists('spec/javascripts/support/sources-rails.yaml', 'spec/javascripts/support/sources.yaml')
copy_unless_exists('spec/javascripts/support/jasmine-rails.yaml', 'spec/javascripts/support/jasmine.yaml')
else
copy_unless_exists('spec/javascripts/support/sources.yaml')
copy_unless_exists('spec/javascripts/support/jasmine.yaml')
write_mode = 'w'
if File.exist?(dest_path('Rakefile'))
load dest_path('Rakefile')