Sha256: 4044b95d9f8f67132b9bba7b6da922b93f6ab3d054058d7f0ebe993dda7e3b13

Contents?: true

Size: 1.54 KB

Versions: 22

Compression:

Stored size: 1.54 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

# Default rake task to run all tests:
#   bundle exec rake
task :engine_default_task do
  sh "bin/rspec"
  sh "bin/cucumber"
  sh "bin/cucumber TEST_DEPTH=web --profile rake_web"
end
task(:default).clear.enhance(["engine_default_task"])

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
renalware-core-2.0.111 Rakefile
renalware-core-2.0.110 Rakefile
renalware-core-2.0.109 Rakefile
renalware-core-2.0.108 Rakefile
renalware-core-2.0.106 Rakefile
renalware-core-2.0.105 Rakefile
renalware-core-2.0.104 Rakefile
renalware-core-2.0.103 Rakefile
renalware-core-2.0.102 Rakefile
renalware-core-2.0.101 Rakefile
renalware-core-2.0.100 Rakefile
renalware-core-2.0.99 Rakefile
renalware-core-2.0.98 Rakefile
renalware-core-2.0.97 Rakefile
renalware-core-2.0.96 Rakefile
renalware-core-2.0.95 Rakefile
renalware-core-2.0.94 Rakefile
renalware-core-2.0.93 Rakefile
renalware-core-2.0.92 Rakefile
renalware-core-2.0.91 Rakefile