Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add env_name definitions to ConfigItem's that were missing them #200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/xcov/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,18 +176,21 @@ def self.available_options
),
FastlaneCore::ConfigItem.new(
key: :skip_slack,
env_name: "XCOV_SKIP_SLACK",
description: "Don't publish to slack, even when an URL is given",
is_string: false,
default_value: false
),
FastlaneCore::ConfigItem.new(
key: :slack_username,
env_name: "XCOV_SLACK_USERNAME",
description: "The username which is used to publish to slack",
default_value: "xcov",
optional: true
),
FastlaneCore::ConfigItem.new(
key: :slack_message,
env_name: "XCOV_SLACK_MESSAGE",
description: "The message which is published together with a successful report",
default_value: "Your *xcov* coverage report",
optional: true
Expand Down Expand Up @@ -218,18 +221,21 @@ def self.available_options
),
FastlaneCore::ConfigItem.new(
key: :exclude_targets,
env_name: "XCOV_EXCLUDE_TARGETS",
optional: true,
conflicting_options: [:include_targets, :only_project_targets],
description: "Comma separated list of targets to exclude from coverage report"
),
FastlaneCore::ConfigItem.new(
key: :include_targets,
env_name: "XCOV_INCLUDE_TARGETS",
optional: true,
conflicting_options: [:exclude_targets, :only_project_targets],
description: "Comma separated list of targets to include in coverage report. If specified then exlude_targets will be ignored"
),
FastlaneCore::ConfigItem.new(
key: :only_project_targets,
env_name: "XCOV_ONLY_PROJECT_TARGETS",
optional: true,
conflicting_options: [:exclude_targets, :include_targets],
description: "Display the coverage only for main project targets (e.g. skip Pods targets)",
Expand Down