Sha256: 2cf18f01dbabdda311bd1d117d7fac49e7335b9ec597bbbe9f32ab243c0a7d6f

Contents?: true

Size: 568 Bytes

Versions: 2

Compression:

Stored size: 568 Bytes

Contents

namespace :ember do
  desc "Runs `ember build` for each App"
  task compile: :install do
    EmberCLI.compile!
  end

  desc "Runs `ember test` for each App"
  task test: :environment do
    EmberCLI.run_tests!
  end

  desc "Installs each EmberCLI app's dependencies"
  task install: :environment do
    EmberCLI.install_dependencies!
  end
end

unless EmberCLI.skip?
  # Hook into assets:precompile:all for Rails 3.1+
  if Rails::VERSION::MAJOR < 4
    task "assets:precompile:all" => "ember:compile"
  else
    task "assets:precompile" => "ember:compile"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ember-cli-rails-0.4.1 lib/tasks/ember-cli.rake
ember-cli-rails-0.4.0 lib/tasks/ember-cli.rake