fixed dependencies

This commit is contained in:
nuknal
2024-10-24 15:46:01 +08:00
parent d16a5bd9c0
commit 1161e8d054
2005 changed files with 690883 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
NAME=logrus-prefixed-formatter
PACKAGES=$(shell go list ./...)
deps:
@echo "--> Installing dependencies"
@go get -d -v -t ./...
test-deps:
@which ginkgo 2>/dev/null ; if [ $$? -eq 1 ]; then \
go get -u -v github.com/onsi/ginkgo/ginkgo; \
fi
test: test-deps
@echo "--> Running tests"
@ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race
format:
@echo "--> Running go fmt"
@go fmt $(PACKAGES)