refactor(build): update makefile to remove preset paths and add post-boot paths
- commit
- 7cca08423e65563b1d0056f4565baf066647b36e
- author
- bnema · · 2025-10-21 06:14 UTC
- parent
- f3a9363
- signature
- unsigned
1 file · +3 -3
M Makefile +3 -3
| @@ -20,7 +20,7 @@ check-syntax: | |||
| 20 | 20 | @echo "=========================================" | |
| 21 | 21 | @echo "Checking shell script syntax..." | |
| 22 | 22 | @echo "=========================================" | |
| 23 | - | @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh; do \ | |
| 23 | + | @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh install/post-install/*.sh install/post-boot/*.sh; do \ | |
| 24 | 24 | if [ -f "$$script" ]; then \ | |
| 25 | 25 | echo "Checking: $$script"; \ | |
| 26 | 26 | bash -n "$$script" || exit 1; \ | |
| @@ -39,11 +39,11 @@ check-shellcheck: | |||
| 39 | 39 | echo "Install with: sudo pacman -S shellcheck"; \ | |
| 40 | 40 | exit 0; \ | |
| 41 | 41 | fi | |
| 42 | - | @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh; do \ | |
| 42 | + | @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh install/post-install/*.sh install/post-boot/*.sh; do \ | |
| 43 | 43 | if [ -f "$$script" ]; then \ | |
| 44 | 44 | echo ""; \ | |
| 45 | 45 | echo "Checking: $$script"; \ | |
| 46 | - | shellcheck --exclude=SC1091,SC2086,SC2004,SC2059,SC2129,SC2155 "$$script" || exit 1; \ | |
| 46 | + | shellcheck --exclude=SC1090,SC1091,SC2086,SC2004,SC2059,SC2129,SC2155 "$$script" || exit 1; \ | |
| 47 | 47 | fi \ | |
| 48 | 48 | done | |
| 49 | 49 | @echo "" | |
| @@ -20,7 +20,7 @@ check-syntax: | |||||
| 20 | @echo "=========================================" | 20 | @echo "=========================================" | ||
| 21 | @echo "Checking shell script syntax..." | 21 | @echo "Checking shell script syntax..." | ||
| 22 | @echo "=========================================" | 22 | @echo "=========================================" | ||
| 23 | - | @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh; do \ | 23 | + | @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh install/post-install/*.sh install/post-boot/*.sh; do \ |
| 24 | if [ -f "$$script" ]; then \ | 24 | if [ -f "$$script" ]; then \ | ||
| 25 | echo "Checking: $$script"; \ | 25 | echo "Checking: $$script"; \ | ||
| 26 | bash -n "$$script" || exit 1; \ | 26 | bash -n "$$script" || exit 1; \ | ||
| @@ -39,11 +39,11 @@ check-shellcheck: | |||||
| 39 | echo "Install with: sudo pacman -S shellcheck"; \ | 39 | echo "Install with: sudo pacman -S shellcheck"; \ | ||
| 40 | exit 0; \ | 40 | exit 0; \ | ||
| 41 | fi | 41 | fi | ||
| 42 | - | @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh; do \ | 42 | + | @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh install/post-install/*.sh install/post-boot/*.sh; do \ |
| 43 | if [ -f "$$script" ]; then \ | 43 | if [ -f "$$script" ]; then \ | ||
| 44 | echo ""; \ | 44 | echo ""; \ | ||
| 45 | echo "Checking: $$script"; \ | 45 | echo "Checking: $$script"; \ | ||
| 46 | - | shellcheck --exclude=SC1091,SC2086,SC2004,SC2059,SC2129,SC2155 "$$script" || exit 1; \ | 46 | + | shellcheck --exclude=SC1090,SC1091,SC2086,SC2004,SC2059,SC2129,SC2155 "$$script" || exit 1; \ |
| 47 | fi \ | 47 | fi \ | ||
| 48 | done | 48 | done | ||
| 49 | @echo "" | 49 | @echo "" | ||