Page MenuHomePhabricator

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

Authored by jon on Jul 18 2022, 4:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 17, 12:44 AM
Unknown Object (File)
Sun, Jun 16, 10:40 AM
Unknown Object (File)
Wed, Jun 12, 11:34 PM
Unknown Object (File)
Wed, Jun 12, 3:32 PM
Unknown Object (File)
Mon, Jun 10, 6:25 PM
Unknown Object (File)
Mon, Jun 10, 5:00 PM
Unknown Object (File)
Thu, Jun 6, 5:15 PM
Unknown Object (File)
Thu, Jun 6, 2:34 AM

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
Lint Not Applicable
Unit
Tests Not Applicable

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.