[#164] Makefile: Add clang-format support
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
f5df03c718
commit
6b663de631
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -74,6 +74,9 @@ lint:
|
||||||
fi
|
fi
|
||||||
$(LINT_DIR)/golangci-lint run --timeout=5m
|
$(LINT_DIR)/golangci-lint run --timeout=5m
|
||||||
|
|
||||||
|
clang:
|
||||||
|
@clang-format -i **/*.js
|
||||||
|
|
||||||
# Install linters
|
# Install linters
|
||||||
lint-install:
|
lint-install:
|
||||||
@rm -rf $(OUTPUT_LINT_DIR)
|
@rm -rf $(OUTPUT_LINT_DIR)
|
||||||
|
|
Loading…
Reference in a new issue