desc 'Checks you if you need to do any cleanup of the code before you push' task :validate do Rake::Task['git:check_for_uncommitted_changes'].invoke Rake::Task['ios:clean:build'].invoke Rake::Task['ios:tidy'].invoke Rake::Task['git:check_for_uncommitted_changes'].reenable Rake::Task['git:check_for_uncommitted_changes'].invoke Rake::Task['ios:specs:slim'].invoke puts "\n\n" puts "👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 " puts "🚢 Looks like you're good to ship! 🚢 " puts "👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 " puts "\n\n" end