Makefile // Remove Cpp clang-format commands.
This commit is contained in:
parent
346eb537d7
commit
03e3a39489
10
Makefile
10
Makefile
|
@ -24,21 +24,19 @@ VC_APP_ROOT = $(DSTROOT)/vChewing.app
|
|||
|
||||
format: batchfix clang-format lint
|
||||
|
||||
clang-format: clang-format-swift clang-format-cpp
|
||||
|
||||
clang-format-swift:
|
||||
clang-format:
|
||||
@git ls-files --exclude-standard | grep -E '\.swift$$' | xargs swift-format format --in-place --configuration ./.clang-format-swift.json --parallel
|
||||
@git ls-files --exclude-standard | grep -E '\.swift$$' | xargs swift-format lint --configuration ./.clang-format-swift.json --parallel
|
||||
|
||||
clang-format-cpp:
|
||||
@git ls-files --exclude-standard | grep -E '\.(cpp|hpp|c|cc|cxx|hxx|ixx|h|m|mm|hh)$$' | xargs clang-format -i
|
||||
|
||||
lint:
|
||||
@git ls-files --exclude-standard | grep -E '\.swift$$' | xargs swift-format lint --configuration ./.clang-format-swift.json --parallel
|
||||
|
||||
batchfix:
|
||||
@git ls-files --exclude-standard | grep -E '\.swift$$' | swiftlint --fix --autocorrect
|
||||
|
||||
advanced-lint:
|
||||
@swiftformat --swiftversion 5.5 --indent 2 ./
|
||||
|
||||
.PHONY: permission-check install-debug install-release
|
||||
|
||||
permission-check:
|
||||
|
|
Loading…
Reference in New Issue