roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Move Copying of Assets to Precompile Task

Open aaronskiba opened this issue 9 months ago • 0 comments

Fixes #3493

Changes proposed in this PR:

  • Moved the code for copying Bootstrap glyphicons and TinyMCE skins from the initializer to a custom Rake task.
  • Created a new Rake task assets:copy to handle the copying of necessary files.
  • Ensured that the assets:copy task runs before assets:precompile by setting it as a prerequisite.
  • This change prevents the files from being copied every time the Rails application initializes (e.g., when starting the server or console), and only copies them during the asset precompilation process.

aaronskiba avatar Mar 25 '25 15:03 aaronskiba