-
Notifications
You must be signed in to change notification settings - Fork 0
/
bin-deps.mk
36 lines (23 loc) · 846 Bytes
/
bin-deps.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
GOLANGCI_BIN ?= $(GOBIN)/golangci-lint
GOLANGCI_VERSION ?= v1.56.2
.PHONY: $(GOLANGCI_BIN)
$(GOLANGCI_BIN):
test -s $(GOLANGCI_BIN) || GOBIN=$(GOBIN) go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_VERSION)
TEMPL_BIN ?= $(GOBIN)/templ
TEMPL_VERSION ?= v0.2.590
.PHONY: $(TEMPL_BIN)
$(TEMPL_BIN):
test -s $(TEMPL_BIN) || GOBIN=$(GOBIN) go install github.com/a-h/templ/cmd/templ@$(TEMPL_VERSION)
TAILWINDCSS_BIN ?= node_modules/.bin/tailwindcss
.PHONY: $(TAILWINDCSS_BIN)
$(TAILWINDCSS_BIN):
test -s $(TAILWINDCSS_BIN) || npm i
AIR_BIN ?= $(GOBIN)/air
AIR_VERSION ?= v1.51.0
.PHONY: $(AIR_BIN)
$(AIR_BIN):
test -s $(AIR_BIN) || GOBIN=$(GOBIN) go install github.com/cosmtrek/air@$(AIR_VERSION)
TERN_BIN ?= $(GOBIN)/tern
TERN_VERSION ?= latest
$(TERN_BIN):
go install github.com/jackc/tern@$(TERN_VERSION)