mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 23:42:43 +01:00
flake: Add meson formatter
This adds a meson.format file that mostly mirrors the projects meson style and a pre-commit hook to enforce this style. Some low-diff files are formatted.
This commit is contained in:
parent
371fcf91c3
commit
93a42a5971
18 changed files with 152 additions and 52 deletions
|
|
@ -2,7 +2,4 @@
|
|||
|
||||
include_dirs += include_directories('../..')
|
||||
|
||||
headers += files(
|
||||
'cgroup.hh',
|
||||
'linux-namespaces.hh',
|
||||
)
|
||||
headers += files('cgroup.hh', 'linux-namespaces.hh')
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
sources += files(
|
||||
'cgroup.cc',
|
||||
'linux-namespaces.cc',
|
||||
)
|
||||
sources += files('cgroup.cc', 'linux-namespaces.cc')
|
||||
|
||||
subdir('include/nix/util')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue