Sha256: ca1fb7c4736551dfc35d64571f6d81f2d3b2e32d70d00f6ce32d7f744f5028fe

Contents?: true

Size: 1.14 KB

Versions: 200

Compression:

Stored size: 1.14 KB

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class PrecheckAction < Action
      def self.run(config)
        require 'precheck'
        Precheck.config = config
        return Precheck::Runner.new.run
      end

      def self.description
        "Check your app's metadata before you submit your app to review using _precheck_"
      end

      def self.details
        "More information: https://fastlane.tools/precheck"
      end

      def self.available_options
        require 'precheck/options'
        Precheck::Options.available_options
      end

      def self.return_value
        return "true if precheck passes, else, false"
      end

      def self.authors
        ["taquitos"]
      end

      def self.is_supported?(platform)
        platform == :ios
      end

      def self.example_code
        [
          'precheck(
            negative_apple_sentiment(level: :skip), # Set to skip to not run the `negative_apple_sentiment` rule
            curse_words(level: :warn) # Set to warn to only warn on curse word check failures
          )'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

200 entries across 200 versions & 1 rubygems

Version Path
fastlane-2.65.0.beta.20171114010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.64.1 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.65.0.beta.20171113010004 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.65.0.beta.20171112010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.65.0.beta.20171111010004 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.65.0.beta.20171110010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.65.0.beta.20171109010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.65.0.beta.20171108010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.65.0.beta.20171107010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.64.0 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.64.0.beta.20171106010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.64.0.beta.20171105010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.64.0.beta.20171104010004 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.64.0.beta.20171103010004 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.64.0.beta.20171102010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.64.0.beta.20171101010004 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.63.0 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.63.0.beta.20171031010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.63.0.beta.20171030010003 fastlane/lib/fastlane/actions/precheck.rb
fastlane-2.63.0.beta.20171029010003 fastlane/lib/fastlane/actions/precheck.rb