aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-08 20:00:48 +0900
committernsfisis <nsfisis@gmail.com>2024-08-08 20:00:48 +0900
commite9f88eefec3e4098e9374e19c9e0f7a52c319f26 (patch)
tree7c91a689aaea376985ec579d71c1169fdc2ee47a /backend/Makefile
parent9e5500269746d3826382a6dec78f0e82cfda0d42 (diff)
parentef1577a212d1b5c6f908a59b943a512d33d312fe (diff)
downloadiosdc-japan-2024-albatross-e9f88eefec3e4098e9374e19c9e0f7a52c319f26.tar.gz
iosdc-japan-2024-albatross-e9f88eefec3e4098e9374e19c9e0f7a52c319f26.tar.zst
iosdc-japan-2024-albatross-e9f88eefec3e4098e9374e19c9e0f7a52c319f26.zip
Merge branch 'feat/golangci-lint'
Diffstat (limited to 'backend/Makefile')
-rw-r--r--backend/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/backend/Makefile b/backend/Makefile
index 72d3314..e9bc5a6 100644
--- a/backend/Makefile
+++ b/backend/Makefile
@@ -1,6 +1,5 @@
-.PHONY: fmt
-fmt:
- go fmt ./...
+.PHONY: all
+all: check lint
.PHONY: check
check:
@@ -8,7 +7,7 @@ check:
.PHONY: lint
lint:
- go vet ./...
+ go run github.com/golangci/golangci-lint/cmd/golangci-lint run
.PHONY: gen
gen: