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

all target can be non-exclusive via CLI #3107

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

oldergod
Copy link
Member

No description provided.

@oldergod oldergod force-pushed the bquenaudon.2024-09-16.exclusivityVIPyo branch from d348481 to a56dabb Compare September 16, 2024 13:59
Comment on lines 161 to 170
val args = ArrayList<String>()
args.add(TargetLanguage.JAVA.protoPathArg())
args.add(TargetLanguage.JAVA.outArg("/".toPath() / testDir))
args.add(TargetLanguage.KOTLIN.protoPathArg())
args.add(TargetLanguage.KOTLIN.outArg("/".toPath() / testDir))
args.add(TargetLanguage.SWIFT.protoPathArg())
args.add(TargetLanguage.SWIFT.outArg("/".toPath() / testDir))
args.add("--no_kotlin_exclusive")
args.add("--no_swift_exclusive")
args.add("--dry_run")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
val args = ArrayList<String>()
args.add(TargetLanguage.JAVA.protoPathArg())
args.add(TargetLanguage.JAVA.outArg("/".toPath() / testDir))
args.add(TargetLanguage.KOTLIN.protoPathArg())
args.add(TargetLanguage.KOTLIN.outArg("/".toPath() / testDir))
args.add(TargetLanguage.SWIFT.protoPathArg())
args.add(TargetLanguage.SWIFT.outArg("/".toPath() / testDir))
args.add("--no_kotlin_exclusive")
args.add("--no_swift_exclusive")
args.add("--dry_run")
val args = mutableListOf(
TargetLanguage.JAVA.protoPathArg(),
TargetLanguage.JAVA.outArg("/".toPath() / testDir),
TargetLanguage.KOTLIN.protoPathArg(),
TargetLanguage.KOTLIN.outArg("/".toPath() / testDir),
TargetLanguage.SWIFT.protoPathArg(),
TargetLanguage.SWIFT.outArg("/".toPath() / testDir),
"--no_kotlin_exclusive",
"--no_swift_exclusive",
"--dry_run",
)

Comment on lines 184 to 185
val fs = fileSystem
val compiler = WireCompiler.forArgs(fs, logger, *args.toTypedArray<String>())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
val fs = fileSystem
val compiler = WireCompiler.forArgs(fs, logger, *args.toTypedArray<String>())
val compiler = WireCompiler.forArgs(fileSystem, logger, *args.toTypedArray<String>())

Base automatically changed from bquenaudon.2024-09-16.compilermultipletargets to master September 16, 2024 15:01
@oldergod oldergod force-pushed the bquenaudon.2024-09-16.exclusivityVIPyo branch from a56dabb to 3844028 Compare September 16, 2024 15:04
@oldergod oldergod merged commit 5ba6be3 into master Sep 16, 2024
11 checks passed
@oldergod oldergod deleted the bquenaudon.2024-09-16.exclusivityVIPyo branch September 16, 2024 20:52
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.

3 participants