module FWToolkit module Tasks class Cocoapods < Thor include Rake::DSL if defined?(Rake::DSL) include Thor::Actions no_tasks do def install_tasks namespace :pod do task :clean do remove_dir 'Pods' end task :update_specs do run 'pod repo update' end task :install do run 'pod install' end desc 'Clean and install Pods' task :clean_install => [:clean, :install] end end end end end end