Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2022-01-08 11:16:07 +03:00
коммит произвёл GitHub
родитель c8198fbefe
Коммит 6595b31f23
406 изменённых файлов: 16617 добавлений и 6957 удалений

42
vendor/github.com/go-morph/morph/Makefile сгенерированный поставляемый Обычный файл
Просмотреть файл

@@ -0,0 +1,42 @@
all: test
GO=go
.PHONY: test
test:
$(GO) clean -testcache
make test-drivers
make test-rest
.PHONY: test-rest
test-rest:
$(GO) clean -testcache
$(GO) test -race -v --tags=!drivers,sources ./...
.PHONY: test-drivers
test-drivers:
$(GO) clean -testcache
$(GO) test -race -v --tags=drivers,!sources ./...
.PHONY: update-dependencies
update-dependencies:
$(GO) get -u ./...
$(GO) mod vendor
$(GO) mod tidy
.PHONY: vendor
vendor:
$(GO) mod vendor
$(GO) mod tidy
.PHONY: check
check:
$(GO) fmt ./...
.PHONY: run-databases
run-databases:
docker-compose up --no-recreate -d
.PHONY: install
install:
$(GO) install -mod=readonly -trimpath ./cmd/morph