Skip to content

Instantly share code, notes, and snippets.

@joliss
Created June 3, 2012 14:28
Show Gist options
  • Save joliss/2863737 to your computer and use it in GitHub Desktop.
Save joliss/2863737 to your computer and use it in GitHub Desktop.
lib/tasks/assets.rake
desc 'Build all required asset files'
task :assets do
Bundler.with_clean_env do
sh 'cd vendor/ember.js && bundle install --quiet && bundle exec rake'
sh 'cd vendor/ember-data && bundle install --quiet && bundle exec rake'
end
end
task 'test' => :assets
task 'konacha:run' => :assets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment