fix: added swag command to makefile
This commit is contained in:
@@ -76,4 +76,9 @@ clean:
|
||||
## docker: Build a Docker image
|
||||
docker:
|
||||
@echo "Building Docker image for $(APP_NAME):$(VERSION)..."
|
||||
@docker build -t $(APP_NAME):$(VERSION) -t $(APP_NAME):latest .
|
||||
@docker build -t $(APP_NAME):$(VERSION) -t $(APP_NAME):latest .
|
||||
|
||||
## swag: Create swagger documentation
|
||||
swag:
|
||||
@echo "Creating swagger documentation for $(APP_NAME)"
|
||||
@swag init -g $(MAIN_DIR)/main.go
|
||||
|
||||
Reference in New Issue
Block a user