Skip to content
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

Precompile assets before testing #3214

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

taylor-steve
Copy link
Contributor

I think this is better suited here rather than in the generator.

@taylor-steve taylor-steve marked this pull request as ready for review October 18, 2024 18:26
Rakefile Outdated
@@ -39,6 +39,9 @@ task ci: ['engine_cart:generate'] do
SolrWrapper.wrap(port: '8983') do |solr|
solr.with_collection(name: 'blacklight-core', dir: 'lib/generators/spotlight/templates/solr/conf') do
Rake::Task['spotlight:fixtures'].invoke
within_test_app do
system 'bin/rake assets:precompile'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typically this is done by spec:prepare. I believe this is done automatically by rake spec

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assets:precompile is for deploying to prod

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Justin

I think this is better suited here rather than in the generator.
@corylown corylown merged commit d17dea2 into migrate-asset-pipeline Oct 18, 2024
6 checks passed
@corylown corylown deleted the precompile-assets-in-ci branch October 18, 2024 19:50
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.

3 participants