Skip to content

Move Copying of Assets to Precompile Task #3494

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

aaronskiba
Copy link
Contributor

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.

- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant