Sha256: ab8df17586128a5316ea8f7a64b1807e9320be6a97c44d9594e50ee3fcd3a8b6

Contents?: true

Size: 340 Bytes

Versions: 4

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module InstallGemLocal
  module BuildGem
    def build_gem
      puts ''
      puts 'Build Gem'.green
      file = tty_command.run('find -type f -name "*.gemspec"')
      file_name = file.out.strip
      file_name.empty? ? ap('Gemspec not found') : tty_command.run("gem build #{file_name}")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
install_gem_local-0.1.11 lib/install_gem_local/action/build_gem.rb
install_gem_local-0.1.10 lib/install_gem_local/action/build_gem.rb
install_gem_local-0.1.9 lib/install_gem_local/action/build_gem.rb
install_gem_local-0.1.8 lib/install_gem_local/action/build_gem.rb