-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (26 loc) · 1.91 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
mocks:
mockgen -source=internal/service/application_service.go -destination=internal/service/mock/mock_application_service.go
mockgen -source=internal/domain/repository/integrity_repository.go -destination=internal/domain/repository/mocks/mock_integrity_repository.go
mockgen -source=internal/domain/repository/authenticity_repository.go -destination=internal/domain/repository/mocks/mock_authenticity_repository.go
mockgen -source=internal/domain/repository/availability_repository.go -destination=internal/domain/repository/mocks/mock_availability_repository.go
mockgen -source=internal/domain/repository/encryption_repository.go -destination=internal/domain/repository/mocks/mock_encryption_repository.go
mockgen -source=internal/domain/repository/notification_repository.go -destination=internal/domain/repository/mocks/mock_notification_repository.go
mockgen -source=internal/domain/repository/metadata_repository.go -destination=internal/domain/repository/mocks/mock_metadata_repository.go
mockgen -source=internal/platform/repository/sql/connection/sql_connector.go -destination=internal/platform/repository/sql/connection/mocks/mock_sql_connector.go
mockgen -source=internal/domain/repository/merkle_tree_repository.go -destination=internal/domain/repository/mocks/mock_merkle_tree_repository.go
mockgen -source=internal/domain/repository/message_aggregator_repository.go -destination=internal/domain/repository/mocks/mock_message_aggregator_repository.go
mockgen -source=internal/domain/repository/process_repository.go -destination=internal/domain/repository/mocks/mock_process_repository.go
schemas:
go run -mod=mod entgo.io/ent/cmd/ent generate --target ./internal/platform/repository/sql/ent ./internal/platform/repository/sql/schema
down:
docker compose down
up:
docker-compose -f docker-compose-postgres.yaml up -d --build
test:
go test -v ./...
cache:
go mod tidy
go mod vendor
qa:
staticcheck ./...
go vet ./...