Sha256: 8752f9d5ee19e5df44e6fa04f6170a6a9c5b9c35a76b65926033d03999626d3b
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
module Fastlane module Actions class DangerAction < Action def self.run(params) Actions.verify_gem!('danger') cmd = [] cmd << ['bundle exec'] if File.exist?('Gemfile') && params[:use_bundle_exec] cmd << ['danger'] Actions.sh(cmd.join(' ')) end def self.description "Runs `danger` for the project" end def self.details "More information: https://github.com/danger/danger" end def self.available_options [ FastlaneCore::ConfigItem.new(key: :use_bundle_exec, env_name: "FL_DANGER_USE_BUNDLE_EXEC", description: "Use bundle exec when there is a Gemfile presented", is_string: false, default_value: true) ] end def self.is_supported?(platform) true end def self.authors ["KrauseFx"] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fastlane-1.82.0 | lib/fastlane/actions/danger.rb |