Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

Commit adefdf5

Browse files
committed
chore(Makefile, README): add rebuild command and update documentation
This commit introduces a new 'rebuild' command in the Makefile for rebuilding containers without cache, enhancing the build process. The README.md is updated to include this new command, providing users with clearer instructions on available operations. Additionally, minor adjustments are made to existing command descriptions for consistency and clarity.
1 parent 6651f98 commit adefdf5

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

Makefile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: help
1+
.PHONY: help build rebuild up down restart status logs logs-ircd logs-atheme logs-webpanel dev-shell dev-logs test lint clean reset info ssl-setup ssl-status ssl-renew ssl-logs ssl-stop ssl-clean generate-password modules-list modules-installed webpanel stop
22

33
# Default target - comprehensive help
44
help:
@@ -52,11 +52,17 @@ NC := \033[0m # No Color
5252

5353
# Building operations
5454
build:
55-
@echo -e "$(PURPLE)=== Building All Services ===$(NC)"
55+
@echo -e "$(PURPLE)=== Building Services ===$(NC)"
5656
@echo -e "$(BLUE)[INFO]$(NC) Building IRC services..."
5757
$(DOCKER_COMPOSE) build $(if $(NO_CACHE),--no-cache)
5858
@echo -e "$(GREEN)[SUCCESS]$(NC) All services built successfully!"
5959

60+
rebuild:
61+
@echo -e "$(PURPLE)=== Rebuilding Services (No Cache) ===$(NC)"
62+
@echo -e "$(BLUE)[INFO]$(NC) Rebuilding IRC services without cache..."
63+
$(DOCKER_COMPOSE) build --no-cache
64+
@echo -e "$(GREEN)[SUCCESS]$(NC) All services rebuilt successfully!"
65+
6066
# ============================================================================
6167
# SERVICE MANAGEMENT COMMANDS
6268
# ============================================================================
@@ -99,15 +105,15 @@ logs:
99105

100106
logs-ircd:
101107
@echo -e "$(PURPLE)=== UnrealIRCd Logs ===$(NC)"
102-
$(DOCKER_COMPOSE) logs -f ircd
108+
$(DOCKER_COMPOSE) logs -f unrealircd
103109

104110
logs-atheme:
105111
@echo -e "$(PURPLE)=== Atheme Logs ===$(NC)"
106112
$(DOCKER_COMPOSE) logs -f atheme
107113

108114
logs-webpanel:
109115
@echo -e "$(PURPLE)=== WebPanel Logs ===$(NC)"
110-
$(DOCKER_COMPOSE) logs -f webpanel
116+
$(DOCKER_COMPOSE) logs -f unrealircd-webpanel
111117

112118
# ============================================================================
113119
# MODULE MANAGEMENT (Advanced)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ make status # Check service status
4848

4949
# Advanced commands
5050
make build # Build containers manually
51+
make rebuild # Rebuild containers without cache (fresh build)
5152
make restart # Restart services
5253
make reset # Complete reset (CAUTION!)
5354
make help # Show all available commands

0 commit comments

Comments
 (0)