Skip to content

automatically building BUILD from code #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
johnynek opened this issue Aug 19, 2017 · 2 comments
Open

automatically building BUILD from code #265

johnynek opened this issue Aug 19, 2017 · 2 comments

Comments

@johnynek
Copy link
Contributor

seems pants has a plugin for this:

https://github.com/foursquare/fsqio/tree/master/src/python/fsqio/pants/buildgen

we could possibly pilfer this.

@johnynek
Copy link
Contributor Author

This could be useful:

https://github.com/lightbend/scala-sculpt/blob/master/src/main/scala/com/lightbend/tools/sculpt/plugin/ExtractDependencies.scala

the above code can print all the dependencies of some scala. So, we could use this to emit meta-data for each target on how you could split a target (which files/jar deps need to go into each cluster).

This could be done with a goal of keeping some target compilation time (so don't make tiny targets if a slightly larger one wouldn't measurably increase compilation time).

@johnynek
Copy link
Contributor Author

johnynek commented Sep 1, 2018

lightbend-labs/scala-sculpt#61

Related PR to build a tool to split big targets automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant