Sha256: d15d9a7b03c522032bb1ad06a73dcff27ed9582614565183f0abec94fb1a4f4d

Contents?: true

Size: 474 Bytes

Versions: 7

Compression:

Stored size: 474 Bytes

Contents

# frozen_string_literal: true

require 'development/toolbox'
require 'rake'

module Development
  # Development tasks
  module Tasks
    # @return [Pathname]
    def self.library
      @rake_library ||= Development::Toolbox.root.join('rakelib')
    end

    # @return [<String>]
    def self.rake_files
      @rake_files ||= Dir[library.join('**/*.rake')]
    end

    # Install development tasks
    def self.install
      Rake.add_rakelib(*library.to_s)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
development-toolbox-0.8.0 lib/development/tasks.rb
development-toolbox-0.7.0 lib/development/tasks.rb
development-toolbox-0.5.0 lib/development/tasks.rb
development-toolbox-0.4.0 lib/development/tasks.rb
development-toolbox-0.3.0 lib/development/tasks.rb
development-toolbox-0.2.0 lib/development/tasks.rb
development-toolbox-0.1.0 lib/development/tasks.rb