Makefile added with Version 2.1

This commit is contained in:
Dirk Alders 2025-08-10 18:45:53 +02:00
parent 2975023009
commit a470645070

View File

@ -1,4 +1,4 @@
# git helper Makefile: Version 2.0 (2025-08-05)
# git helper Makefile: Version 2.1 (2025-08-05)
default: help
.ONESHELL:
@ -33,6 +33,7 @@ localinit:
init: print_head
# Init git repo
if [[ -e $(GIT_FLAG) ]]; then
echo -e "\033[1;33mInitialising git submodules...\e[0m"
git submodule init
git submodule update
fi
@ -43,10 +44,12 @@ init: print_head
# Create venv if needed
if [[ -e $(VENV_FLAG) ]]; then
if [[ ! -e $(VENV_FOLDER) ]]; then
echo -e "\033[1;33mCreating virtual env...\e[0m"
mkvenv
fi
fi
# Start local init
echo -e "\033[1;33mDoing localinit...\e[0m"
$(MAKE) localinit
update_submodules: