Files
mostlymatter/vendor/github.com/mattermost/morph/Makefile
Agniva De Sarker 2a59047d07 Moved morph dependency to new repo (#19618)
```release-note
NONE
```

Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2022-02-23 20:11:12 +05:30

43 строки
664 B
Makefile

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