Sha256: 787d03ee6ce9b61af8fe16221dd0dfd542a6da9ec4f6b3b03d6fa8e9ff9aeb76
Contents?: true
Size: 803 Bytes
Versions: 2
Compression:
Stored size: 803 Bytes
Contents
# frozen_string_literal: true require "generators/boring/pronto/base_generator" require "boring_generators/generator_helper" module Boring module Pronto module GithubAction class InstallGenerator < Boring::Pronto::BaseGenerator desc "Adds Pronto configurations to Github Action" source_root File.expand_path("templates", __dir__) class_option :ruby_version, type: :string, aliases: "-rv" include BoringGenerators::GeneratorHelper def add_pronto_configuration_for_github_action say "Adding Pronto configurations to .github/workflows/pronto.yml", :green @ruby_version = options.ruby_version || app_ruby_version template("pronto.yml", ".github/workflows/pronto.yml") end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems