Добавлены скрипты и документация для автоматической синхронизации с GitHub после push в Gitea
This commit is contained in:
14
Makefile
14
Makefile
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user