Skip to content
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

Update with the latest changes from bazelbuild/rules_scala 08032021 #11

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

cattibrie
Copy link
Collaborator

Description

This PR includes merging conflicts between changes to scrooge-generator introduced first in the fork and later in the bazelbuild/rules_scala.

cattibrie and others added 13 commits February 22, 2021 12:18
…ter-forks#6)

  * Add option parsing file

  * Add OptionParser

  * Add scopt dependency

  * Lint reformat
…lbuild#1228)

* Support scrooge-generator compiler flags in thrift_library rule (twitter-forks#6)

  * Add option parsing file

  * Add OptionParser

  * Add scopt dependency

  * Lint reformat

* Add option parsing file

* Add scopt dependency

* Lint reformat

* Add test for compiler_args in thrift_library

* Fix lint error

* Remove option parser from rules_scala code

* Add scopt dependency

* Update test and clean code
### Description

Originally it was unknown to me that we could use flags to directly disable the stamping of scala imports using 
`build --@io_bazel_rules_scala//scala/settings:stamp_scala_import=False` in the `.bazelrc` file. Discussion in 
 bazelbuild#1232 cleared that up. 

### Motivation

Reverting twitter-forks#8 as it is not needed.
* Extract strict deps tests into separate shell script

* Add test to showcase existing (incorrect) proto stamping behaviour

* lint
* Get rid of join in starlark

* Remove defaults handling for values which are always passed

* Move plugins formatting to ScalacWorker next to plugin params

* Move validation from CompileOptions next to others in ScalacWorker

* Formatting

* Add test for CompilerOptions args file parsing

* Remove not required interfaces from CompileOptions.Args

* Java naming
@cattibrie cattibrie force-pushed the master branch 3 times, most recently from 1125957 to c8f5d3c Compare March 11, 2021 17:00
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

Successfully merging this pull request may close these issues.

4 participants