feat: update make

This commit is contained in:
liuyx 2025-03-21 19:58:31 +08:00
parent d544302482
commit da517642b6

View File

@ -3,10 +3,7 @@
.PHONY: git-init conf-init .PHONY: git-init conf-init
git-init: git-init:
@if [ ! -d .git ]; then \ @if [ ! -d .git ]; then \
echo "Initializing git repository..."; \ git submodule update --init; \
git init; \
git add .; \
git commit -m "Initial commit"; \
else \ else \
echo "Git repository already initialized."; \ echo "Git repository already initialized."; \
fi fi