migrations: use go:embed instead of gobindata (#19769)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
caa30c9bc4
Коммит
0f918a0aa4
9
Makefile
9
Makefile
@@ -296,15 +296,6 @@ new-migration: migration-prereqs ## Creates a new migration
|
||||
|
||||
@echo "When you are done writing your migration, run 'make migrations-bindata'"
|
||||
|
||||
migrations-bindata: ## Generates bindata migrations
|
||||
$(GO) install github.com/go-bindata/go-bindata/...@v3.1.2
|
||||
|
||||
@echo Generating bindata for migrations
|
||||
$(GO) generate $(GOFLAGS) ./db/migrations/
|
||||
|
||||
@echo Generating bindata for configuration migrations
|
||||
$(GO) generate $(GOFLAGS) ./config/migrations/
|
||||
|
||||
filestore-mocks: ## Creates mock files.
|
||||
$(GO) install github.com/vektra/mockery/...@v1.1.2
|
||||
$(GOBIN)/mockery -dir shared/filestore -all -output shared/filestore/mocks -note 'Regenerate this file using `make filestore-mocks`.'
|
||||
|
||||
Ссылка в новой задаче
Block a user