class Gem::Tasks::Sign::Task

def sign(path)

Other tags:
    Abstract: -

Parameters:
  • path (String) --
def sign(path)
end

def sign_task(name)

Other tags:
    Api: - semipublic

Parameters:
  • name (Symbol) --
def sign_task(name)
  @project.builds.each do |build,packages|
    packages.each do |format,path|
      namespace :sign do
        namespace name do 
          namespace build do
            task format => path do
              sign(path)
            end
          end
        end
      end
    end
    multi_task "sign:#{name}:#{build}", packages.keys
    task "sign:#{name}"  => "sign:#{name}:#{build}"
    task "sign:#{build}" => "sign:#{name}:#{build}"
    desc "Signs all packages" unless task?(:sign)
    task :sign           => "sign:#{name}:#{build}"
  end
end