Sha256: 5f3b76f3a055ceb4f58120039e181c4d134a7e1a37fd8ef04199470c28c85967

Contents?: true

Size: 526 Bytes

Versions: 5

Compression:

Stored size: 526 Bytes

Contents

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 :install do
              run 'pod install'
            end

            desc 'Clean and install Pods'
            task :clean_install => [:clean, :install]
          end
        end
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fwtoolkit-0.6.4 lib/fwtoolkit/tasks/cocoapods.rb
fwtoolkit-0.6.3 lib/fwtoolkit/tasks/cocoapods.rb
fwtoolkit-0.6.2 lib/fwtoolkit/tasks/cocoapods.rb
fwtoolkit-0.6.1 lib/fwtoolkit/tasks/cocoapods.rb
fwtoolkit-0.6.0 lib/fwtoolkit/tasks/cocoapods.rb