Skip to content

Commit

Permalink
Merge pull request #195 from dtheyer/main
Browse files Browse the repository at this point in the history
Add cli flag for specifying bundle mode
  • Loading branch information
dafyddcrosby authored Nov 1, 2024
2 parents f89d867 + 3b7b1e3 commit c9f3b8c
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'
) do |bundle_setting|
if ['true', 'false'].include?(bundle_setting)
bundle_setting = bundle_setting == 'true'
end
options[:bundle] = bundle_setting
end
end

if mode == 'help'
Expand Down

0 comments on commit c9f3b8c

Please sign in to comment.