feat: Update main receiver file path in Makefile
The main receiver file path in the Makefile has been updated to `./cmd/main/main.go` to reflect the correct location of the file. This change ensures that the Makefile correctly builds and runs the main receiver component of the application.
This commit is contained in:
@@ -3,7 +3,7 @@ APP_NAME = tele-proc
|
||||
GO_FILES = $(shell find . -name '*.go' -type f)
|
||||
CONFIG_DIR = configs
|
||||
BUILD_DIR = build
|
||||
MAIN_RECEIVER = ./cmd/receiver/main.go
|
||||
MAIN_RECEIVER = ./cmd/main/main.go
|
||||
|
||||
# Default target
|
||||
.PHONY: all
|
||||
@@ -41,7 +41,7 @@ run-test:
|
||||
.PHONY: test
|
||||
test:
|
||||
@echo "Running tests..."
|
||||
@go test ./...
|
||||
@ginkgo -r -v
|
||||
|
||||
# Clean build artifacts
|
||||
.PHONY: clean
|
||||
|
||||
@@ -153,8 +153,3 @@ func ValidateConfig(cfg *Config) error {
|
||||
fmt.Println("config validation passed")
|
||||
return nil
|
||||
}
|
||||
|
||||
// func logAndReturnError(log *logrus.Logger, msg string) error {
|
||||
// log.Error(msg)
|
||||
// return fmt.Errorf(msg)
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user