File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ uninstall-linux:
24
24
25
25
.PHONY : format
26
26
format :
27
- clang-format -i src/ *
27
+ npm run format
28
28
29
29
# This depends on the system setting e.g. $PATH so can't actually be skipped
30
30
.PHONY : configure
Original file line number Diff line number Diff line change 24
24
"coverage" : " npm run coverage-cc && npm run coverage-js" ,
25
25
"codecov-upload-cc" : " codecov --disable=gcov --file=coverage-cc.info" ,
26
26
"codecov-upload-js" : " codecov --disable=gcov --file=coverage-js.lcov" ,
27
- "codecov-upload" : " npm run codecov-upload-cc && npm run codecov-upload-js"
27
+ "codecov-upload" : " npm run codecov-upload-cc && npm run codecov-upload-js" ,
28
+ "format" : " clang-format -i src/*"
28
29
},
29
30
"repository" : {
30
31
"type" : " git" ,
54
55
"devDependencies" : {
55
56
"codecov" : " ^3.1.0" ,
56
57
"nyc" : " ^13.1.0" ,
58
+ "clang-format" : " 1.2.4" ,
57
59
"tape" : " ^4.4.0"
58
60
},
59
61
"nyc" : {
You can’t perform that action at this time.
0 commit comments