Fix run commands in Makefile to use correct main package paths
This commit is contained in:
parent
0d9ff1fcb1
commit
ea2af952a8
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue