61e57e2012
This PR modifies update_homebrew to also generate a dart@2 versioned formula. The new file is dropped out right next to the old `dart.rb` file. The dart@2 formula is a temporary measure to aid application developers migrating from Dart 1 to Dart 2. Supersedes https://github.com/dart-lang/homebrew-dart/pull/52. This looks right by inspection, but I haven't been able to test it yet: my local `dart` environment is all messed up, and I am a Dart newbie. Still, I'm putting this out here as a PR so the discussion from https://github.com/dart-lang/homebrew-dart/pull/52 can proceed. Closes #33318 https://github.com/dart-lang/sdk/pull/33318 GitOrigin-RevId: 5230782aabf4f45199cff9b1fb9c5304e5dcb21c Change-Id: I78cf5b066d85ac8b0ef51ed44e6eb1a15192b23c Reviewed-on: https://dart-review.googlesource.com/58120 Commit-Queue: William Hesse <whesse@google.com> Reviewed-by: William Hesse <whesse@google.com>