Sha256: dd711e22a5a9145dad008d7d8a6af219cae15a78f8080df9f7c3c44913746fbc

Contents?: true

Size: 908 Bytes

Versions: 12

Compression:

Stored size: 908 Bytes

Contents

module Fastlane
  module Actions
    class ClearDerivedDataAction < Action
      def self.run(params)
        path = File.expand_path("~/Library/Developer/Xcode/DerivedData")
        FileUtils.rm_rf(path) if File.directory?(path)
        Helper.log.info "Successfully cleraed Derived Data ♻️".green
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Deletes the Xcode Derived Data"
      end

      def self.details
        "Deletes the Derived Data from '~/Library/Developer/Xcode/DerivedData'"
      end

      def self.available_options
        []
      end

      def self.output
      end

      def self.authors
        ["KrauseFx"]
      end

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fastlane-1.41.1 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.41.0 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.40.0 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.39.0 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.38.1 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.38.0 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.37.0 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.36.4 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.36.3 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.36.2 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.36.1 lib/fastlane/actions/clear_derived_data.rb
fastlane-1.36.0 lib/fastlane/actions/clear_derived_data.rb