Skip to content

Commit f3b2a41

Browse files
Thomas StrombergThomas Stromberg
authored andcommitted
fix makefile
1 parent 8dc9402 commit f3b2a41

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Makefile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
.PHONY: test
2+
test:
3+
@echo "Running integration tests..."
4+
@chmod +x $(LINT_ROOT)/test/run_tests.sh
5+
@$(LINT_ROOT)/test/run_tests.sh
16

27
# BEGIN: lint-install .
38
# http://github.com/codeGROOVE-dev/lint-install
@@ -125,10 +130,4 @@ fix:
125130
done; \
126131
exit $$exit_code
127132

128-
.PHONY: test
129-
test:
130-
@echo "Running integration tests..."
131-
@chmod +x $(LINT_ROOT)/test/run_tests.sh
132-
@$(LINT_ROOT)/test/run_tests.sh
133-
134133
# END: lint-install .

Makefile.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ yamllint-lint: $(YAMLLINT_BIN)
9696
{{ end -}}
9797

9898
{{ if .Web -}}
99-
BIOME_VERSION ?= 1.9.4
99+
BIOME_VERSION ?= 2.2.6
100100
BIOME_BIN := $(LINT_ROOT)/out/linters/biome-$(BIOME_VERSION)-$(LINT_ARCH)
101101
BIOME_CONFIG := $(LINT_ROOT)/biome.json
102102

@@ -109,7 +109,7 @@ endif
109109
$(BIOME_BIN):
110110
mkdir -p $(LINT_ROOT)/out/linters
111111
rm -rf $(LINT_ROOT)/out/linters/biome-*
112-
curl -sSfL -o $@ https://github.com/biomejs/biome/releases/download/cli%2Fv$(BIOME_VERSION)/biome-$(LINT_OS_LOWER)-$(BIOME_ARCH) \
112+
curl -sSfL -o $@ https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40$(BIOME_VERSION)/biome-$(LINT_OS_LOWER)-$(BIOME_ARCH) \
113113
|| echo "Unable to fetch biome for $(LINT_OS_LOWER)/$(BIOME_ARCH), falling back to local install"
114114
test -f $@ || printf "#!/usr/bin/env biome\n" > $@
115115
chmod u+x $@

0 commit comments

Comments
 (0)