migrations: use go:embed instead of gobindata (#19769)

Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2022-03-11 14:14:50 +03:00
коммит произвёл GitHub
родитель caa30c9bc4
Коммит 0f918a0aa4
9 изменённых файлов: 38 добавлений и 7784 удалений

Просмотреть файл

@@ -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`.'