-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (25 loc) Β· 766 Bytes
/
Makefile
File metadata and controls
29 lines (25 loc) Β· 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.PHONY: help install update fmt
help:
@echo "β Make targets"
@echo " make install Full installation (PROFILE=<name> to select)"
@echo " make update Update system and packages"
@echo " make fmt Format code files"
@echo ""
@echo "For full usage and profiles:"
@echo " ./install.sh help"
install:
@if [ -n "$$PROFILE" ]; then \
./install.sh profile "$$PROFILE"; \
else \
./install.sh; \
fi
update:
@echo "β Updating system and packages"
@./install.sh system_base || true
@echo "β Update complete"
fmt:
@echo "β [1/2] Formatting bash files"
@shfmt --write .
@echo "β [2/2] Formatting fish files"
@fish --command "fish_indent -w configs/fish/.config/**/*.fish"
@echo "β Formatting complete"