fix: added swag command to makefile
This commit is contained in:
@@ -77,3 +77,8 @@ clean:
|
|||||||
docker:
|
docker:
|
||||||
@echo "Building Docker image for $(APP_NAME):$(VERSION)..."
|
@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