Sha256: 6581fc92e3b8ffab2da3223be581bbfd8441ad97924c07f01eb019c4f97c27a8

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

module Hisyo
  class Generator
    def generate_travis
      src = File.expand_path("assistance/travis", DIR)
      root = options[:root]
      @params = {
        "email" => command("git config user.email") || "foo@example.com"
      }.merge(@params)
      copy(src)
    end
  end

  help <<-TEXT
  -k travis: for Travis CI files
    * email=foo@example.com 
    Notification email address (default is `git config user.email`)
  TEXT
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hisyo-0.2.0 lib/hisyo/generator/travis.rb