Sha256: fa1badafead7ac822cc3f09aa146aedb2d639af5668b2554ddde459910397010
Contents?: true
Size: 329 Bytes
Versions: 1
Compression:
Stored size: 329 Bytes
Contents
class Build < Array def self.discover_commands commands # Gem builds, `gem build dev_tasks.spec` Dir.glob('*.spec') {|f| commands["build"] = Build.new if(!commands.has_key?("build")) commands["build"].add "gem build #{f}" } end def add command self << command if(!include?(command)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dev_tasks-0.0.4 | lib/build.rb |