Skip to content

Commit

Permalink
Add cli flag for specifying bundle mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dtheyer committed Nov 1, 2024
1 parent f89d867 commit c76419e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bin/taste-tester
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,15 @@ MODES:
) do
options[:skip_post_test_hook] = true
end

opts.on(
"-b", "--bundle BUNDLE_SETTING", ['true', 'false', 'compatible'], "Bundle mode setting"

Check failure on line 414 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.5)

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

Check failure on line 414 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.5)

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

Check failure on line 414 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.5)

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

Check failure on line 414 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.6)

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

Check failure on line 414 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.6)

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

Check failure on line 414 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.6)

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

Check failure on line 414 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.7)

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

Check failure on line 414 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.7)

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

Check failure on line 414 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.7)

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
) do |bundle_setting|
if ['true', 'false'].include?(bundle_setting)

Check failure on line 416 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.5)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

Check failure on line 416 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.6)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

Check failure on line 416 in bin/taste-tester

View workflow job for this annotation

GitHub Actions / ruby (2.7)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
bundle_setting = bundle_setting == 'true'
end
options[:bundle] = bundle_setting
end
end

if mode == 'help'
Expand Down

0 comments on commit c76419e

Please sign in to comment.