feat: update make
This commit is contained in:
parent
d544302482
commit
da517642b6
5
Makefile
5
Makefile
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user