Sha256: de908a274ee2bf3c45cd4cbbd3e02110670d1170b17039c7d0922d1d8c824b22
Contents?: true
Size: 286 Bytes
Versions: 7
Compression:
Stored size: 286 Bytes
Contents
procfile = '' count = 1 Dir["#{Dir.pwd}/kiosks/*"].each do |kiosk| handle = /\/([^\/]+)$/.match(kiosk)[1] puts kiosk + ' -> ' + handle procfile << %Q[#{handle}: kiosk kiosk:run #{kiosk} 990#{count}\n] count += 1 end File.open('./Procfile', 'w') { |file| file.write(procfile) }
Version data entries
7 entries across 7 versions & 1 rubygems