Sha256: c44dc2a0b0eb410c08d20ae56fdef976f52f14095b9f47da98b5707f543cb9cb

Contents?: true

Size: 392 Bytes

Versions: 17

Compression:

Stored size: 392 Bytes

Contents

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 { |t|
            [t.ensure_task_name]
          }
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rake_easy_rsa-0.12.0.pre.1 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.11.0 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.10.0.pre.6 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.10.0.pre.5 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.10.0.pre.4 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.10.0.pre.3 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.10.0.pre.2 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.10.0.pre.1 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.9.0 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.8.0.pre.1 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.7.0 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.6.0.pre.2 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.6.0.pre.1 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.5.0 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.4.0.pre.1 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.3.0 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
rake_easy_rsa-0.2.0.pre.11 lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb