стилистические правки
This commit is contained in:
4
makefile
4
makefile
@@ -77,10 +77,10 @@ define print_timing_summary
|
|||||||
while IFS=':' read -r platform duration; do \
|
while IFS=':' read -r platform duration; do \
|
||||||
sec=$$(echo $$duration | sed 's/ сек//'); \
|
sec=$$(echo $$duration | sed 's/ сек//'); \
|
||||||
total=$$((total + sec)); \
|
total=$$((total + sec)); \
|
||||||
printf "$(YELLOW)%-20s$(NC) : $(GREEN)%5d сек$(NC)\n" "$$platform" "$$sec"; \
|
printf "$(YELLOW)%-25s$(NC) : $(GREEN)%5d сек$(NC)\n" "$$platform" "$$sec"; \
|
||||||
done < $(TIMING_FILE); \
|
done < $(TIMING_FILE); \
|
||||||
echo "$(BOLD)$(CYAN)───────────────────────────────────────────────────────────────$(NC)"; \
|
echo "$(BOLD)$(CYAN)───────────────────────────────────────────────────────────────$(NC)"; \
|
||||||
printf "$(BOLD)$(MAGENTA)%-20s$(NC) : $(BOLD)$(GREEN)%5d сек$(NC) (%.2f мин)\n" "ВСЕГО" "$$total" "$$(echo "scale=2; $$total/60" | bc 2>/dev/null || echo "$$total/60" | awk '{printf "%.2f", $$1/60}')"; \
|
printf "$(BOLD)$(MAGENTA)%-25s$(NC) : $(BOLD)$(GREEN)%5d сек$(NC) (%.2f мин)\n" "ВСЕГО" "$$total" "$$(echo "scale=2; $$total/60" | bc 2>/dev/null || echo "$$total/60" | awk '{printf "%.2f", $$1/60}')"; \
|
||||||
else \
|
else \
|
||||||
echo "$(YELLOW)Нет данных о времени сборки$(NC)"; \
|
echo "$(YELLOW)Нет данных о времени сборки$(NC)"; \
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user