~aleteoryx/muditaos

ref: afa37eef2cc6d1255d42dea213f4d44b9a8fbe6a muditaos/config/format-config.sh -rw-r--r-- 1.3 KiB
afa37eef — Lucjan Bryndza [EGD-4758] Add block size and fs size 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash -e
# Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
# For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

# config file for pre-commit.hook clang-format
# ignore file for clang-format autoformating

# set this variable in your shell if you wish to disable autoformatting on commit for time being
#DISABLE_AUTO_FORMATTING=1

# set this variable to get more verbose output
VERBOSE=1

# ignore_paths for formatter - these are regex matched with filenames to be formated
# if you don't wish to format i.e one file - just pass whole path to this file from git root directory
declare ignore_paths=(
    './module-os/'
    './board/'
    './module-bsp/bsp/'
    './module-bsp/board/rt1051/common/fsl_drivers/'
    './module-bsp/board/rt1051/common/board.cpp'
    './module-vfs/board/cross/freeRTOS_FAT/'
    './module-db/[Dd]atabase/sqlite3.h'
    './module-db/[Dd]atabase/sqlite3.c'
    './module-db/[Dd]atabase/sqlite3ext.h'
    './module-db/[Dd]atabase/config.h'
    './module-bluetooth/lib/btstack/'
    './module-lwip/lib/lwip/'
    './module-utils/tinyfsm/'
    './module-utils/microtar/'
    './module-utils/json/'
    './module-utils/segger/log/'
    './module-utils/segger/systemview/'
    './build'
    './.*/lib/'
    './.*/catch.hpp'

)