cpnr / computing

0 stars 0 forks source link

clang-format 설치 #36

Closed jhgoh closed 5 months ago

jhgoh commented 5 months ago

아래와 같은 에러 메시지가 발생.

$ git ci -m 'add user analysis processor' -a
clang-format is not installed. Formatting rules won't be auto applied upon commit.
Consider installing clang-format to ensure consistent formatting across the project, especially if you plan to contribute.

clang-format 패키지 설치함.

# apt install clang-format
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fuse-overlayfs libsquashfuse0 squashfuse
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  clang-format-14 libclang-cpp14 libllvm14
The following NEW packages will be installed:
  clang-format clang-format-14 libclang-cpp14 libllvm14
0 upgraded, 4 newly installed, 0 to remove and 2 not upgraded.
Need to get 36.1 MB of archives.
After this operation, 168 MB of additional disk space will be used.
Do you want to continue? [Y/n] y