module Lolipop::Mc::Starter::Rails::CheckList

Constants

LIST

Public Class Methods

check_all() click to toggle source
# File lib/lolipop/mc/starter/rails/check_list.rb, line 37
def self.check_all
  LIST.each do |item|
    i = item.new
    begin
      puts '✅ ' + Paint[i.check, :green].to_s
    rescue => e
      puts '❌ ' + Paint[e.message, :red]
      puts ''
      puts '[ヒント]'
      i.hint
      return
    end
  end
  puts ''
  puts '🚀 ' + Paint['デプロイまでの準備は完了です! `git push lolipop master` コマンドでデプロイできます!!', :green, :bold]
  puts ''
end