From fa598438041b0b49e930ccf01a9c2d6235aeccee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 20 Jun 2023 12:07:46 +0200 Subject: [PATCH] tests: fix type of shell used for linting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise Node modules are not installed. Signed-off-by: Jakub SokoĊ‚owski --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 716b897115..2f9bfcacf1 100644 --- a/Makefile +++ b/Makefile @@ -301,7 +301,7 @@ define find_all_clojure_files $$(comm -23 <(sort <(git ls-files --cached --others --exclude-standard)) <(sort <(git ls-files --deleted)) | grep -e \.clj$$ -e \.cljs$$ -e \.cljc$$ -e \.edn) endef -lint: export TARGET := default +lint: export TARGET := clojure lint: ##@test Run code style checks @sh scripts/lint-re-frame-in-quo-components.sh && \ clj-kondo --config .clj-kondo/config.edn --cache false --lint src && \ @@ -310,7 +310,7 @@ lint: ##@test Run code style checks yarn prettier # NOTE: We run the linter twice because of https://github.com/kkinnear/zprint/issues/271 -lint-fix: export TARGET := default +lint-fix: export TARGET := clojure lint-fix: ##@test Run code style checks and fix issues ALL_CLOJURE_FILES=$(call find_all_clojure_files) && \ zprint '{:search-config? true}' -sw $$ALL_CLOJURE_FILES && \