dart-lang / macros

A Dart mono-repo for macro development.
BSD 3-Clause "New" or "Revised" License
54 stars 5 forks source link

set up mono_repo configs #12

Closed jakemac53 closed 3 months ago

jakemac53 commented 3 months ago

Closes https://github.com/dart-lang/macros/issues/2

I also added tool/dart_model_generator to the workspace config.

davidmorgan commented 3 months ago

Neat, thanks.

dart_model_generator doesn't have any test yet, let me see if I can add a golden test... feel free to merge before, to wait, to add an empty test, or to tweak the config so it doesn't test, as you like :)

davidmorgan commented 3 months ago

13 :)

jakemac53 commented 3 months ago

cc @davidmorgan we are somehow getting carriage returns on windows, I just changed it to use equalsIgnoringWhitespace for now, which will only capture meaningful changes... but we could end up swapping between carriage returns and not, if people generate on windows versus other platforms...

davidmorgan commented 3 months ago

Curious, maybe add a TODO / issue somewhere? We probably don't want to accidentally publish with different line endings.