Sha256: b5fdd1283ee276620df810ebf9aaaab150cc4dc5290a7892bc8b836634671260

Contents?: true

Size: 852 Bytes

Versions: 10

Compression:

Stored size: 852 Bytes

Contents

module FWToolkit
  module Tasks
    class CI < Thor
      
      include Rake::DSL if defined?(Rake::DSL)
      include Thor::Actions
      
      no_tasks do
        def install_tasks
          namespace :ci do
            
            task :bundle do
              run 'bundle'
            end
            
            task :update_submodules do
              run 'git submodule update --init'
            end
                        
            desc 'Clean, build and test'
            task :build => ["ci:bundle", "ci:update_submodules", "xcode:debug_simulator:cleanbuild", "frank:build", "frank:ci_test_rerun_failures"]

            desc 'Clean, build and test for Cocoapods projects'
            task :pod_build => ["ci:bundle", "pod:update_specs", "pod:clean_install", "ci:build"]          
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fwtoolkit-0.9.3 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.9.2 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.9.1 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.9.0 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.8.7 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.8.6 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.8.5 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.8.4 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.8.3 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.8.2 lib/fwtoolkit/tasks/ci.rb