Skip to content

Instantly share code, notes, and snippets.

@joshholt
Created September 14, 2010 19:10
Show Gist options
  • Select an option

  • Save joshholt/579585 to your computer and use it in GitHub Desktop.

Select an option

Save joshholt/579585 to your computer and use it in GitHub Desktop.
task :add_other_combined do
if MANIFEST.target[:target_name] =~ /\/myapp/i
tmp_entries = []
tmp_entries.push MANIFEST.entry_for('someframework:javascript.js')
tmp_entries.push MANIFEST.entry_for('anotherframework:javascript.js')
tmp_entries.each { |e|
e.clean!
}
MANIFEST.add_composite 'all_the_stuffs.js',
:source_entries => tmp_entries,
:entry_type => :javascript
end
end
task 'manifest:prepare_build_tasks:combine' => :add_other_combined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment