[OISF/outreachy] Help running clang-format script
Janani Ramjee
janani6472 at gmail.com
Wed Oct 21 17:51:06 UTC 2020
Hi Juliana,
You will need to install git clang first, I guess. It can be done via the
terminal, if you are using Ubuntu.
Regards,
Janani
On Wed, Oct 21, 2020, 11:16 PM Juliana Fajardini Reichow via Outreachy <
outreachy at lists.openinfosecfoundation.org> wrote:
> Hi all,
>
> I was trying to run clang-format to check exactly which parts of my code
> formatting are not compliant, as suggested by "Formatting Check (clang
> 9)" test
> ERROR: Branch requires formatting
> ERROR: View required changes with: clang-format.sh check-branch --diff
> ERROR: Use clang-format.sh rewrite-branch or clang-format.sh branch to fix
> formatting
> Error: Formatting is not following code style guide!
>
> But I get an error:
> ./clang-format.sh check-branch --diff
> ERROR: None of git-clang-format-11 git-clang-format-10 git-clang-format-9
> git-clang-format found
>
> I tried running it from within "scripts" folder and from suricata one, and
> got the same error...
>
> If someone can help me understand how to run those, for future use, that
> would be great! :)
>
> Thanks in advance,
> Juliana
>
> --
> Juliana Fajardini Reichow
> _______________________________________________
> Outreachy mailing list
> Outreachy at lists.openinfosecfoundation.org
> https://lists.openinfosecfoundation.org/listinfo/outreachy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/outreachy/attachments/20201021/2b324d9b/attachment.html>
More information about the Outreachy
mailing list