Add cmake-lint command to dev shell
Depends on D4294
Differential D4564
[Nix] Add cmake-format to dev shell • jon on Jul 18 2022, 2:52 PM. Authored by Tags None Referenced Files
Details
Add cmake-lint command to dev shell Depends on D4294 nix develop cmake-lint --help
Diff Detail
Event TimelineComment Actions Looks good to me, accepting and adding @ashoat as blocking reviewer since this introduces a new dependency. (In the future it'd probably be helpful to link to something that shows what cmake-format corresponds to eg https://github.com/NixOS/nixpkgs/blob/nixos-22.05/pkgs/development/tools/cmake-format/default.nix or a GitHub repo or something) Comment Actions Do you mean like which upstream it uses? (e.g. https://github.com/cheshirekow/cmake_format) Comment Actions Wondering where the config for cmake-format goes, and if there's a way to configure the max line length Comment Actions
Default is 80 Comment Actions @atul not sure what format you wanted the info, but with nix you can also just query the underlying package: $ nix eval nixpkgs#cmake-format.meta.homepage "https://github.com/cheshirekow/cmake_format" |