Sha256: a08ee91d024628fa121d4e4c0e1c11117885aa07aa560337c230d0b5e71a740b
Contents?: true
Size: 482 Bytes
Versions: 1
Compression:
Stored size: 482 Bytes
Contents
desc "List standup scripts" task :standup do puts bright_p "Standup scripts list:" offset = Standup.scripts.keys.map(&:length).max + 2 Standup.scripts.each do |name, script| puts " rake standup:\e[1m#{"%-#{offset}s" % name}\e[0m #{script.description}" end puts end namespace :standup do Standup.scripts.each do |name, _| desc "Run script #{name} for each node" task name.to_sym do Standup.nodes.each {|node| node.run_script name} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
standup-0.2.0 | lib/tasks/standup.rake |