Sha256: 255bcbaca012c851050a2d436ce78963a2666005c870e24d1a24a84bc39b87c7
Contents?: true
Size: 736 Bytes
Versions: 2
Compression:
Stored size: 736 Bytes
Contents
$:.unshift '../lib' require 'rubygems' spec = Gem::Specification.new do |s| s.name = 'an-app' s.version = "0.0.3" s.required_ruby_version = ">= 1.8.1" s.platform = Gem::Platform::RUBY s.summary = "This gem demonstrates executable scripts" s.requirements << 'a computer processor' s.files = Dir.glob("lib/**/*").delete_if {|item| item.include?("CVS")} s.files.concat Dir.glob("bin/**/*").delete_if {|item| item.include?("CVS")} s.require_path = 'lib' s.autorequire = 'somefunctionality' s.executables = ["myapp"] s.has_rdoc = false #s.extra_rdoc_files = ["README", "Changes.rdoc"] #s.default_executable = "myapp" s.bindir = "bin" end if $0==__FILE__ Gem::manage_gems Gem::Builder.new(spec).build end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubygems-update-0.8.8 | examples/application/an-app.gemspec |
rubygems-update-0.8.10 | examples/application/an-app.gemspec |