mberlanda/cheidelacoriera

View on GitHub
Rakefile

Summary

Maintainability
Test Coverage
# 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.

require_relative 'config/application'

Rails.application.load_tasks

Rake::Task['assets:precompile'].enhance [:js_deps_install]

task js_deps_install: :environment do
  sh 'yarn install'
  sh 'yarn autoclean --force'
end