Class: GGem::CLI::BuildCommand
- Inherits:
-
Object
- Object
- GGem::CLI::BuildCommand
- Includes:
- GemspecCommand
- Defined in:
- lib/ggem/cli/commands.rb
Instance Method Summary collapse
Instance Method Details
#help ⇒ Object
209 210 211 212 213 214 |
# File 'lib/ggem/cli/commands.rb', line 209 def help "Usage: ggem build [options]\n\n" \ "Options: #{@clirb}\n" \ "Description:\n" \ " #{self.summary}" end |
#run(argv, *args) ⇒ Object
197 198 199 200 201 202 |
# File 'lib/ggem/cli/commands.rb', line 197 def run(argv, *args) super notify("#{@spec.name} #{@spec.version} built to #{@spec.gem_file}") do @spec.run_build_cmd end end |
#summary ⇒ Object
204 205 206 207 |
# File 'lib/ggem/cli/commands.rb', line 204 def summary "Build #{@spec.gem_file_name} into the " \ "#{GGem::Gemspec::BUILD_TO_DIRNAME} directory" end |