Sha256: 8641fd4fbca314f043772f1ab95ca7d969e60f0a8bdfc957bbc3c2ccf15bf416

Contents?: true

Size: 291 Bytes

Versions: 63

Compression:

Stored size: 291 Bytes

Contents

# typed: false
# frozen_string_literal: true

require_relative "base"

module Hephaestus
  class LicenseGenerator < Generators::Base
    def licensed
      copy_file(".licensed.yml", ".licensed.yml")
    end

    def generate_licenses
      run("script/licenses --update")
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
hephaestus-0.8.11 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.10 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.9.2 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.9.1 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.9 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.8 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.7.5 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.7.4 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.7.3 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.7.2 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.7.1 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.7 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.6 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.5 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.4.1 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.4 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.3.4 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.3.3 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.3.2 lib/hephaestus/generators/license_generator.rb
hephaestus-0.8.3.1 lib/hephaestus/generators/license_generator.rb