mono_repo.dart
mono_repo.dart copied to clipboard
Sync common files
When working with multiple packages its a pain to keep files in sync. For example you often want the same analysis_options.yaml across packages. It would be great to have a consistent way of doing this.
Other examples of files to keep in sync, .gitignore, LICENSE.
you can have one .gitignore in the root directory but otherwise I agree
It was my understanding that pub uses the .gitignore to determine what not to push
Right, I remember that discussions
I'd like to see something like this!
@matanlurey so hypothetically how should this be approached?
Maybe a .mono_repo
directory that has the files to sync?
Yeah I guess it depends if you want to configuration or convention based.
@kevmoo what say you?
Or just have an entry in mono_repo.yaml
(after https://github.com/dart-lang/mono_repo/pull/29) that specifies a source project directory + files that should sync everywhere?