Skip to content

Conversation

@liucijus
Copy link
Collaborator

Description

Extracted a separate phase for Scalac opts.

Motivation

I have a few cases where I want to change scalacopts for some targets, and I can't do that using macros because they can't access toolchains or fail due to select in the attribute value.

In addition this should provide a way to customize how different rules get opts, eg. scala_proto.

A separate phase for scalac opts allows customizing how scalac opts can be provided in different rules.
@liucijus liucijus requested a review from simuons as a code owner October 12, 2022 12:02
@simuons simuons merged commit ccd0fe5 into bazel-contrib:master Oct 13, 2022
@liucijus liucijus deleted the scalacopts-phase branch October 13, 2022 06:05
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.

2 participants