lib/calatrava/app_builder.rb in calatrava-0.6.2 vs lib/calatrava/app_builder.rb in calatrava-0.6.3

- old
+ new

@@ -34,10 +34,11 @@ def builder_task directory build_html_dir directory build_images_dir directory build_scripts_dir + directory build_styles_dir app_files = haml_files.collect do |hf| file "#{build_html_dir}/#{File.basename(hf, '.haml')}.html" => [build_html_dir, hf] do HamlSupport::compile_hybrid_page hf, build_html_dir, :platform => 'ios' end @@ -48,10 +49,10 @@ coffee cf, build_scripts_dir end end app_files += @manifest.css_tasks(build_styles_dir) - app_files << file("#{build_dir}/load_file.txt" => build_dir) do |t| + app_files << file("#{build_dir}/load_file.txt" => [build_dir, @manifest.src_file]) do |t| File.open(t.name, "w+") { |f| f.puts load_instructions } end task :shared => [build_images_dir, build_scripts_dir] do cp_ne "assets/images/*", build_images_dir