Fix run commands in Makefile to use correct main package paths

This commit is contained in:
Avinash Sridhar 2025-04-23 22:27:14 -04:00
commit ea2af952a8
No known key found for this signature in database

View file

@ -40,12 +40,12 @@ test:
# Run the application
run:
@echo "Running $(BINARY_NAME)..."
@$(GO) run $(MAIN_PATH)
@$(GO) run $(MAIN_PACKAGE)/main.go $(MAIN_PACKAGE)/version.go
# Run the application with test environment (using fake service)
run-test:
@echo "Running $(BINARY_NAME) with test environment..."
@APP_ENV=test $(GO) run $(MAIN_PATH)
@APP_ENV=test $(GO) run $(MAIN_PACKAGE)/main.go $(MAIN_PACKAGE)/version.go
# Install dependencies
deps: