Sha256: a2b3538fba954a5683fb08ebf32023edfd8db66fdbac221e713dc60dde53190e

Contents?: true

Size: 224 Bytes

Versions: 3

Compression:

Stored size: 224 Bytes

Contents

roles = Dir.glob('./roles/*').map { |dir| File.basename(dir) }.sort

roles.each do |role|
  desc "ROLES=#{role} bundle exec cap itamae apply"
  task role do
    system("ROLES=#{role} bundle exec cap itamae apply")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
itamae-template-0.1.4 template/Rakefile
itamae-template-0.1.3 template/Rakefile
itamae-template-0.1.2 template/Rakefile