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:
windyboy
2024-07-20 00:52:31 +08:00
parent afd4643696
commit a5a2ced556
2 changed files with 2 additions and 7 deletions
+2 -2
View File
@@ -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
-5
View File
@@ -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)
// }