Sha256: 3d96925e2f3a2ff3a4cae3fb98c03526940adbe478c735b490d9c4b85a12a11e

Contents?: true

Size: 458 Bytes

Versions: 6

Compression:

Stored size: 458 Bytes

Contents

# frozen_string_literal: true

require 'travis/cli/setup'

module Travis
  module CLI
    class Setup
      class Hackage < Service
        description 'automatic deployment of hackage packages'

        def run
          deploy 'hackage' do |config|
            config['username'] ||= ask('Hackage Username: ').to_s
            config['password'] ||= ask('Hackage Password: ') { |q| q.echo = '*' }.to_s
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
travis-1.14.0 lib/travis/cli/setup/hackage.rb
travis-1.13.3 lib/travis/cli/setup/hackage.rb
travis-1.13.2 lib/travis/cli/setup/hackage.rb
travis-1.13.1 lib/travis/cli/setup/hackage.rb
travis-1.13.0 lib/travis/cli/setup/hackage.rb
travis-1.12.0 lib/travis/cli/setup/hackage.rb