Renamed package and removed unused make calls

This commit is contained in:
Waldemar 2025-09-29 09:41:44 +02:00
parent 7c5db7fa39
commit 55e9f86759
16 changed files with 91 additions and 103 deletions

View file

@ -1,16 +1,12 @@
# ABOUTME: Build automation and code generation for EdgeXR SDK
# ABOUTME: Provides targets for generating types, testing, and building the CLI
.PHONY: generate test build clean install-tools
.PHONY: test build clean install-tools
# Install required tools
install-tools:
go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@latest
# Generate Go types from OpenAPI spec
generate:
oapi-codegen -config oapi-codegen.yaml api/swagger.json
# Run tests
test:
go test -v ./...
@ -35,7 +31,7 @@ lint:
golangci-lint run
# Run all checks (generate, test, lint)
check: generate test lint
check: test lint
# Default target
all: check build
all: check build