Skip to content
This repository was archived by the owner on Mar 7, 2018. It is now read-only.

Commit 326c5b9

Browse files
committed
Merge pull request #156 from davefp/recursive_job_loading
Recursively load jobs
2 parents 7b2a1e7 + 86aac07 commit 326c5b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dashing.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,5 @@ def tilt_html_engines
141141
{}.to_json # Forces your json codec to initialize (in the event that it is lazily loaded). Does this before job threads start.
142142

143143
job_path = ENV["JOB_PATH"] || 'jobs'
144-
files = Dir[File.join(settings.root, job_path, '/*.rb')]
144+
files = Dir[File.join(settings.root, job_path, '**', '/*.rb')]
145145
files.each { |job| require(job) }

0 commit comments

Comments
 (0)