Sha256: 16fad0c3ef70eb8ecc855abb2a79b7ad67d48609925297136bb63e67a676ad20

Contents?: true

Size: 899 Bytes

Versions: 7

Compression:

Stored size: 899 Bytes

Contents

module Fastlane
  module Actions
    class XcovAction < Action
      def self.run(values)
        Actions.verify_gem!('xcov')
        require 'xcov'

        Xcov::Manager.new.work(values)
      end

      def self.description
        "Nice code coverage reports without hassle"
      end

      def self.details
        "More information: https://github.com/nakiostudio/xcov"
      end

      def self.author
        "nakiostudio"
      end

      def self.available_options
        begin
          Gem::Specification.find_by_name('xcov')
        rescue Gem::LoadError
          # Catched missing gem exception and returned empty array
          # to avoid unused_options_spec failure
          return []
        end

        require 'xcov'
        Xcov::Options.available_options
      end

      def self.is_supported?(platform)
        [:ios, :mac].include? platform
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fastlane-1.66.0 lib/fastlane/actions/xcov.rb
fastlane-1.65.0 lib/fastlane/actions/xcov.rb
fastlane-1.64.0 lib/fastlane/actions/xcov.rb
fastlane-1.63.1 lib/fastlane/actions/xcov.rb
fastlane-1.63.0 lib/fastlane/actions/xcov.rb
fastlane-1.62.0 lib/fastlane/actions/xcov.rb
fastlane-1.61.0 lib/fastlane/actions/xcov.rb