dart-lang / homebrew-dart

Dart team's official tap for homebrew.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linuxbrew Support

azenla opened this issue · comments

I'm filing this issue to track work I am doing to support Linuxbrew. This will make the Dart Tap work with Linux and Mac, without any effort required.

Great! Will this tap be a different repo than the existing homebrew one?

I don't think so, I think I will do it in this tap. It's pretty simple, you just add an argument to the url for resources to specify that it's a Linux build, and wrap the Mac specific stuff in OS.linux? checks. I will also write a tool to auto-generate this, if that is something you are interested in.

Yes, the entire dart formula here is auto-generated by https://github.com/dart-lang/sdk/blob/master/tools/apps/update_homebrew/bin/update_homebrew.dart

So to make changes, you should change that script in the sdk repo.

Awesome!

Merge done, this issue could be closed