File tree 6 files changed +0
-28
lines changed
6 files changed +0
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # apply clang format
2
- ce94f9c4403b9c33d5e251fc7f1e15c44725d881
3
1
Original file line number Diff line number Diff line change 12
12
with :
13
13
submodules : true
14
14
15
- - name : Install clang-format
16
- run : brew install clang-format
17
-
18
- - name : Lint
19
- run : make clang-format-lint
20
-
21
15
- name : Configure build environment
22
16
run : |
23
17
echo git_ref_name="$(git describe --always)" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 9
9
with :
10
10
submodules : true
11
11
12
- - name : Install clang-format
13
- run : brew install clang-format
14
-
15
- - name : Lint
16
- run : make clang-format-lint
17
-
18
12
- name : Configure build environment
19
13
run : |
20
14
echo git_ref_name="$(git describe --always)" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 19
19
fetch-depth : 0
20
20
submodules : true
21
21
22
- - name : Install clang-format
23
- run : brew install clang-format
24
-
25
- - name : Lint
26
- run : make clang-format-lint
27
-
28
22
- name : Build Squirrel
29
23
run : ./action-build.sh archive
30
24
Original file line number Diff line number Diff line change @@ -84,12 +84,6 @@ copy-opencc-data:
84
84
85
85
deps : librime data
86
86
87
- clang-format-lint :
88
- find . -name ' *.m' -o -name ' *.h' -maxdepth 1 | xargs clang-format -Werror --dry-run || { echo Please lint your code by ' "' " make clang-format-apply" ' "' .; false ; }
89
-
90
- clang-format-apply :
91
- find . -name ' *.m' -o -name ' *.h' -maxdepth 1 | xargs clang-format --verbose -i
92
-
93
87
ifdef ARCHS
94
88
BUILD_SETTINGS += ARCHS="$(ARCHS ) "
95
89
BUILD_SETTINGS += ONLY_ACTIVE_ARCH=NO
You can’t perform that action at this time.
0 commit comments