Sha256: 7029f72b608f1196c78c986c4b39896f2b8b7b55eae80a46c2af79d4d38305bb

Contents?: true

Size: 428 Bytes

Versions: 9

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

require 'rake_factory'

module RakeEasyRSA
  module Mixins
    module EasyRSAEnsurePrerequisite
      def self.included(base)
        super(base)
        base.class_eval do
          parameter :ensure_task_name, default: :'easy_rsa:ensure'
          default_prerequisites(RakeFactory::DynamicValue.new do |t|
            [t.ensure_task_name]
          end)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rake_easy_rsa-0.14.0.pre.5 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.14.0.pre.4 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.14.0.pre.3 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.14.0.pre.2 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.14.0.pre.1 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.13.0 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.12.0.pre.4 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.12.0.pre.3 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.12.0.pre.2 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb