Page MenuHomePhabricator

[Chore] Lint native/android/app/CMakeLists.txt
ClosedPublic

Authored by jon on Jul 18 2022, 4:23 PM.
Tags
None
Referenced Files
F3562556: D4568.id14722.diff
Fri, Dec 27, 10:54 AM
F3562555: D4568.id14603.diff
Fri, Dec 27, 10:54 AM
F3562554: D4568.id14598.diff
Fri, Dec 27, 10:54 AM
F3562487: D4568.id.diff
Fri, Dec 27, 10:53 AM
F3562404: D4568.diff
Fri, Dec 27, 10:43 AM
Unknown Object (File)
Mon, Dec 9, 5:16 AM
Unknown Object (File)
Tue, Dec 3, 5:53 AM
Unknown Object (File)
Thu, Nov 28, 12:09 PM

Details

Summary

Lint android's CMakeLists.txt

Depends on D4564

Test Plan
nix develop
cmake-lint native/android/app/CMakeLists.txt
./gradlew bundleRelease --no-daemon # ensure build still passes

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jul 18 2022, 4:28 PM
Harbormaster failed remote builds in B10605: Diff 14598!

Defining the dirs separately makes a lot of sense – I assume you did that manually @jonringer-comm, but will be very impressed with the Linter if it does that automatically!

Separately, noticed that some of the lines here are longer than 80 chars, but for filenames I think it makes sense... it definitely hurts readability to split those across lines. Ideally we can have something that works like Prettier's printWidth setting, which generally limits line length but excludes import lines.

noticed that some of the lines here are longer than 80 chars, but for filenames I think it makes sense...

Strongly agree we shouldn't try splitting filenames in weird ways to stay within 80 char limit

This revision is now accepted and ready to land.Jul 19 2022, 11:01 AM

I assume you did that manually @jonringer-comm

I did it manually. The cmake-format command will mostly do whitespace and paren placement.