Permalink
Browse files

[Rakefile] Temporarily require cocoapods-core in the tasks

  • Loading branch information...
1 parent e4ae85d commit c02cce2c4cc2e7fdf1252f1acfbb542ba41043e1 @fabiopelosin fabiopelosin committed Mar 20, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 Rakefile
View
@@ -1,5 +1,4 @@
require 'pathname'
-require 'cocoapods-core'
require 'cocoapods'
# Configuration
@@ -96,6 +95,7 @@ PODS_ALLOWED_TO_FAIL = {
# TODO catch spec eval raise
desc "Run `pod spec lint` on all specs"
task :validate do
+ require 'cocoapods-core'
exit if ENV['skip-lint']
title('Most Recently Commited Specs ')
@@ -139,6 +139,7 @@ end
desc "Checks the repo for errors or warnings"
task :health_report do
+ require 'cocoapods-core'
report = generate_health_report
puts "\n\n\n"
print_health_report(report)

0 comments on commit c02cce2

Please sign in to comment.