lib/jets/commands/rake_tasks.rb in jets-1.9.32 vs lib/jets/commands/rake_tasks.rb in jets-2.0.0
- old
+ new
@@ -15,9 +15,12 @@
Jets::Bundle.setup
Jets::Commands::Db::Tasks.load!
load_webpacker_tasks
+ # custom project rake tasks
+ Dir.glob("#{Jets.root}/lib/tasks/*.rake").each { |r| load r }
+
@@loaded = true
end
# Handles load errors gracefuly per Booter.required_bundle_gems comments.
def load_webpacker_tasks