chore: test

This commit is contained in:
Sojan
2023-04-27 17:06:13 +05:30
parent 155363b9dc
commit e5d29b60cf

View File

@@ -1,3 +1,10 @@
# ref: https://github.com/rails/rails/issues/43906#issuecomment-1094380699
# https://github.com/rails/rails/issues/43906#issuecomment-1099992310
Rake::Task['assets:precompile'].enhance ['yarn']
task before_assets_precompile: :environment do
# run a command which starts your packaging
system('yarn')
end
# every time you execute 'rake assets:precompile'
# run 'before_assets_precompile' first
Rake::Task['assets:precompile'].enhance ['before_assets_precompile']