Lines Matching +full:ls +full:- +full:files
35 # script/make-pretty
39 # script/make-pretty clang
43 # script/make-pretty markdown
47 # script/make-pretty python
51 # script/make-pretty shell
55 # script/make-pretty check clang
56 # script/make-pretty check markdown
57 # script/make-pretty check python
58 # script/make-pretty check shell
61 set -euo pipefail
72 echo -e '====================='
73 echo -e ' format c/c++'
74 echo -e '====================='
76 …git ls-files "${OT_CLANG_SOURCES[@]}" | grep -v -E "^($(echo "${OT_EXCLUDE_DIRS[@]}" | tr ' ' '|')…
77 | xargs -n3 -P"$OT_BUILD_JOBS" script/clang-format -style=file -i -verbose
82 echo -e '====================='
83 echo -e ' check c/c++'
84 echo -e '====================='
86 …git ls-files "${OT_CLANG_SOURCES[@]}" | grep -v -E "^($(echo "${OT_EXCLUDE_DIRS[@]}" | tr ' ' '|')…
87 | xargs -n3 -P"$OT_BUILD_JOBS" script/clang-format-check
92 echo -e '======================'
93 echo -e ' format markdown'
94 echo -e '======================'
96 …git ls-files "${OT_MARKDOWN_SOURCES[@]}" | grep -v -E "^($(echo "${OT_EXCLUDE_DIRS[@]}" | tr ' ' '…
97 | xargs -n10 -P"$OT_BUILD_JOBS" npx prettier@2.0.4 --write
102 echo -e '======================'
103 echo -e ' check markdown'
104 echo -e '======================'
106 …git ls-files "${OT_MARKDOWN_SOURCES[@]}" | grep -v -E "^($(echo "${OT_EXCLUDE_DIRS[@]}" | tr ' ' '…
107 | xargs -n10 -P"$OT_BUILD_JOBS" npx prettier@2.0.4 --check
112 echo -e '======================'
113 echo -e ' format python'
114 echo -e '======================'
116 …git ls-files "${OT_PYTHON_SOURCES[@]}" | grep -v -E "^($(echo "${OT_EXCLUDE_DIRS[@]}" | tr ' ' '|'…
117 | xargs -n10 -P"$OT_BUILD_JOBS" python3 -m yapf --verbose --style google -ipr
122 echo -e '====================='
123 echo -e ' check python'
124 echo -e '====================='
126 …git ls-files "${OT_PYTHON_SOURCES[@]}" | grep -v -E "^($(echo "${OT_EXCLUDE_DIRS[@]}" | tr ' ' '|'…
127 | xargs -n10 -P"$OT_BUILD_JOBS" python3 -m yapf --verbose --style google -dpr
132 echo -e '====================='
133 echo -e ' format shell'
134 echo -e '====================='
136 shfmt -f . | grep -v -E "^($(echo "${OT_EXCLUDE_DIRS[@]}" | tr ' ' '|'))" \
137 | xargs -n10 -P"$OT_BUILD_JOBS" shfmt -i 4 -bn -ci -fn -s -w
142 echo -e '====================='
143 echo -e ' check shell'
144 echo -e '====================='
146 shfmt -f . | grep -v -E "^($(echo "${OT_EXCLUDE_DIRS[@]}" | tr ' ' '|'))" \
147 | xargs -n10 -P"$OT_BUILD_JOBS" shfmt -i 4 -bn -ci -fn -s -d
149 shfmt -f . | grep -v -E "^($(echo "${OT_EXCLUDE_DIRS[@]}" | tr ' ' '|'))" \
150 | xargs -n10 -P"$OT_BUILD_JOBS" shellcheck -x