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.7.2.3 lib/hephaestus/generators/license_generator.rb
hephaestus-0.7.2.2 lib/hephaestus/generators/license_generator.rb
hephaestus-0.7.2.1 lib/hephaestus/generators/license_generator.rb
hephaestus-0.7.2 lib/hephaestus/generators/license_generator.rb
hephaestus-0.7.1 lib/hephaestus/generators/license_generator.rb
hephaestus-0.7.0 lib/hephaestus/generators/license_generator.rb
hephaestus-0.6.4 lib/hephaestus/generators/license_generator.rb
hephaestus-0.6.3 lib/hephaestus/generators/license_generator.rb
hephaestus-0.6.2 lib/hephaestus/generators/license_generator.rb
hephaestus-0.6.1 lib/hephaestus/generators/license_generator.rb
hephaestus-0.6.0 lib/hephaestus/generators/license_generator.rb
hephaestus-0.5.2 lib/hephaestus/generators/license_generator.rb
hephaestus-0.5.1 lib/hephaestus/generators/license_generator.rb
hephaestus-0.5.0 lib/hephaestus/generators/license_generator.rb
hephaestus-0.4.0 lib/hephaestus/generators/license_generator.rb
hephaestus-0.3.1 lib/hephaestus/generators/license_generator.rb
hephaestus-0.2.3 lib/hephaestus/generators/license_generator.rb
hephaestus-0.2.2 lib/hephaestus/generators/license_generator.rb
hephaestus-0.1.3 lib/hephaestus/generators/license_generator.rb
hephaestus-0.1.2 lib/hephaestus/generators/license_generator.rb