File: rake.rb

package info (click to toggle)
ruby-doorkeeper 5.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 992 kB
  • sloc: ruby: 4,644; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Doorkeeper
  module Rake
    class << self
      def load_tasks
        glob = File.join(File.absolute_path(__dir__), "rake", "*.rake")
        Dir[glob].each do |rake_file|
          load rake_file
        end
      end
    end
  end
end