Sha256: ea1871d73705951adbb24df7c7dd0683453cb1fd4fd384927959a629ba5368d3

Contents?: true

Size: 340 Bytes

Versions: 5

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 exist') : tty_command.run("gem build #{file_name}")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
install_gem_local-1.0.1 lib/install_gem_local/action/build_gem.rb
install_gem_local-1.0.0 lib/install_gem_local/action/build_gem.rb
install_gem_local-0.1.20 lib/install_gem_local/action/build_gem.rb
install_gem_local-0.1.19 lib/install_gem_local/action/build_gem.rb
install_gem_local-0.1.18 lib/install_gem_local/action/build_gem.rb