Sha256: 37d1b8e94e0b60978e20944e4c89da5d9ce6c198b72f011a20287c6ea1357139

Contents?: true

Size: 1.3 KB

Versions: 47

Compression:

Stored size: 1.3 KB

Contents

# frozen_string_literal: true

# 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", __dir__)
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

47 entries across 47 versions & 1 rubygems

Version Path
renalware-core-2.0.88 Rakefile
renalware-core-2.0.87 Rakefile
renalware-core-2.0.86 Rakefile
renalware-core-2.0.85 Rakefile
renalware-core-2.0.84 Rakefile
renalware-core-2.0.83 Rakefile
renalware-core-2.0.82 Rakefile
renalware-core-2.0.81 Rakefile
renalware-core-2.0.80 Rakefile
renalware-core-2.0.79 Rakefile
renalware-core-2.0.78 Rakefile
renalware-core-2.0.77 Rakefile
renalware-core-2.0.76 Rakefile
renalware-core-2.0.75 Rakefile
renalware-core-2.0.74 Rakefile
renalware-core-2.0.73 Rakefile
renalware-core-2.0.72 Rakefile
renalware-core-2.0.71 Rakefile
renalware-core-2.0.70 Rakefile
renalware-core-2.0.69 Rakefile