line / rules_apple_line

LINE's Apple rules for Bazel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Best way to suppress INFO logs from `swiftgen` rule

tinder-maxwellelliott opened this issue · comments

Hello!

I am running into an issue where I get a lot of logs from SwiftGen, is there any way to remove these INFO logs but keep my other info logs? Thanks

INFO: From SwiftGen Projects/Modules/Domain/AModuleLocalized.swift
File written: bazel-out/ios-x86_64-min12-applebin_ios-ios_x86_64-fastbuild-ST-c928d317f2e9/bin/Projects/Modules/AModuleLocalized.swift

I filed an issue for it a while ago here SwiftGen/SwiftGen#823.

Another way is creating a wrapper that invokes swiftgen and filters the output.

Thanks for the quick response!

I filed an issue for it a while ago here SwiftGen/SwiftGen#823.

Another way is creating a wrapper that invokes swiftgen and filters the output.

Do you do this in your codebase? Do you have a simple Genrule for this?

No, it's still in my TODOs :)