Добавлены скрипты и документация для автоматической синхронизации с GitHub после push в Gitea

This commit is contained in:
Dmitriy Fofanov
2025-11-05 09:47:58 +03:00
parent ec65cfd05a
commit 429285ef9e
5 changed files with 428 additions and 9 deletions

View File

@@ -123,13 +123,13 @@ clean:
## dev: Development mode with auto-reload
dev:
@echo "$(BLUE)🔥 Development mode (Ctrl+C to exit)$(RESET)"
@if command -v air >/dev/null 2>&1; then \
air; \
else \
echo "$(YELLOW)⚠️ air not installed, using regular run$(RESET)"; \
echo "Install air: go install github.com/cosmtrek/air@latest"; \
make run; \
fi
@where air >nul 2>&1 && ( \
air \
) || ( \
echo "$(YELLOW)⚠️ air not installed, using regular run$(RESET)" && \
echo "Install air: go install github.com/cosmtrek/air@latest" && \
$(MAKE) run \
)
## docker: Docker build
docker: