From 71660ccd9c1b740e44cb9c19b87e96e9b193fd76 Mon Sep 17 00:00:00 2001 From: timurIsaevIY Date: Thu, 26 Sep 2024 21:30:03 +0300 Subject: [PATCH] Makefile added --- build/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 build/Makefile diff --git a/build/Makefile b/build/Makefile new file mode 100644 index 0000000..83fbbd4 --- /dev/null +++ b/build/Makefile @@ -0,0 +1,12 @@ +build_: + go build -o ./.bin cmd/main/main.go + +run: build_ + ./.bin + +.PHONY: lint +lint: + golangci-lint run --config=.golangci.yaml + +test: + go test -race ./... \ No newline at end of file