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 the application
|
||||||
run:
|
run:
|
||||||
@echo "Running $(BINARY_NAME)..."
|
@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 the application with test environment (using fake service)
|
||||||
run-test:
|
run-test:
|
||||||
@echo "Running $(BINARY_NAME) with test environment..."
|
@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
|
# Install dependencies
|
||||||
deps:
|
deps:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue