Sha256: 529fd51ec8ca38d3fb3249cb49bfa0ffd78fad889e623b1c3572c3d71d8b022f

Contents?: true

Size: 837 Bytes

Versions: 8

Compression:

Stored size: 837 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"]

            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

8 entries across 8 versions & 1 rubygems

Version Path
fwtoolkit-0.8.1 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.8.0 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.7.3 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.7.2 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.7.1 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.7.0 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.6.6 lib/fwtoolkit/tasks/ci.rb
fwtoolkit-0.6.5 lib/fwtoolkit/tasks/ci.rb