Skip to content

Commit 53a5676

Browse files
committed
chore: include android interop client files for kotlin linter
1 parent 1b0cab0 commit 53a5676

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -653,17 +653,18 @@ swift-check: $(STAMPS)/swift-check ## Lint Swift files via swift-format and swif
653653

654654
KT_WRAPPER = ./crypto-ffi/bindings/jvm/src/main/kotlin
655655
KT_TESTS = ./crypto-ffi/bindings/jvm/src/test
656-
KT_FILES := $(shell find $(KT_WRAPPER) $(KT_TESTS) -type f -name '*.kt')
656+
KT_INTEROP = ./interop/src/clients/android-interop/src/main/java
657+
KT_FILES := $(shell find $(KT_WRAPPER) $(KT_TESTS) $(KT_INTEROP) -type f -name '*.kt')
657658

658659
$(STAMPS)/kotlin-fmt: $(KT_FILES)
659-
ktlint --format $(KT_WRAPPER) $(KT_TESTS)
660+
ktlint --format $(KT_WRAPPER) $(KT_TESTS) $(KT_INTEROP)
660661
$(TOUCH_STAMP)
661662

662663
.PHONY: kotlin-fmt
663664
kotlin-fmt: $(STAMPS)/kotlin-fmt ## Format Kotlin files via ktlint
664665

665666
$(STAMPS)/kotlin-check: $(KT_FILES)
666-
ktlint $(KT_WRAPPER) $(KT_TESTS)
667+
ktlint $(KT_WRAPPER) $(KT_TESTS) $(KT_INTEROP)
667668
$(TOUCH_STAMP)
668669

669670
.PHONY: kotlin-check

0 commit comments

Comments
 (0)