class GGem::CLI::BuildCommand

Public Instance Methods

help() click to toggle source
# File lib/ggem/cli/commands.rb, line 194
def help
  "Usage: ggem build [options]\n\n" \
  "Options: #{@clirb}\n" \
  "Description:\n" \
  "  #{summary}"
end
run(argv, *args) click to toggle source
Calls superclass method
# File lib/ggem/cli/commands.rb, line 182
def run(argv, *args)
  super
  notify("#{@spec.name} #{@spec.version} built to #{@spec.gem_file}") do
    @spec.run_build_cmd
  end
end
summary() click to toggle source
# File lib/ggem/cli/commands.rb, line 189
def summary
  "Build #{@spec.gem_file_name} into the " \
  "#{GGem::Gemspec::BUILD_TO_DIRNAME} directory"
end