Sha256: b6a61f5c4531493aa179d5efcc70aaf23aef101cb0dc1f9e31e815f72b366688

Contents?: true

Size: 1.28 KB

Versions: 54

Compression:

Stored size: 1.28 KB

Contents

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

puts "Loading engine rake tasks"

begin
  require "bundler/setup"
rescue LoadError
  puts "You must `gem install bundler` and `bundle install` to run rake tasks"
end

# We can use rake tasks like app:db:reset when APP_RAKEFILE set
unless defined?(APP_RAKEFILE)
  APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
end

load "rails/tasks/engine.rake"
load "rails/tasks/statistics.rake"

require "bundler/gem_tasks"

# Bundler::GemHelper.install_tasks

# assets:* tasks for For Heroku only
# When deploying the engine to Heroku, we are actually deployment the spec/dummy app.
# Heroku however loads this Rakefile first hunting for an assets:precompile task to indicate
# it should compile the assets. If not found it won't compile assets and we won't have any styling.
namespace :assets do
  desc "Clean any assets within dummy app"
  task :clean do
    Rake::Task["app:assets:clean"].invoke
  end

  desc "Precompile assets within dummy app"
  task :precompile do
    Rake::Task["app:assets:precompile"].invoke
  end

  desc "Clobbers assets within dummy app"
  task :clobber do
    Rake::Task["app:assets:clobber"].invoke
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
renalware-core-2.0.37 Rakefile
renalware-core-2.0.36 Rakefile
renalware-core-2.0.35 Rakefile
renalware-core-2.0.34 Rakefile
renalware-core-2.0.33 Rakefile
renalware-core-2.0.32 Rakefile
renalware-core-2.0.31 Rakefile
renalware-core-2.0.30 Rakefile
renalware-core-2.0.28 Rakefile
renalware-core-2.0.27 Rakefile
renalware-core-2.0.26 Rakefile
renalware-core-2.0.25 Rakefile
renalware-core-2.0.24 Rakefile
renalware-core-2.0.23 Rakefile
renalware-core-2.0.22 Rakefile
renalware-core-2.0.21 Rakefile
renalware-core-2.0.20 Rakefile
renalware-core-2.0.18 Rakefile
renalware-core-2.0.17 Rakefile
renalware-core-2.0.16 Rakefile