Module: Gitlab::Dangerfiles::TaskLoader
- Defined in:
- lib/gitlab/dangerfiles/task_loader.rb
Constant Summary collapse
- TASKS_DIR =
File.("tasks", __dir__)
Class Method Summary collapse
Class Method Details
.load_tasks ⇒ Object
10 11 12 |
# File 'lib/gitlab/dangerfiles/task_loader.rb', line 10 def load_tasks Rake.application.add_import(*Dir.glob(File.join(TASKS_DIR, "*.rake"))) end |