Makefile added with Version 2.2
This commit is contained in:
parent
843e3ec656
commit
7841a1d169
11
Makefile
11
Makefile
@ -1,4 +1,4 @@
|
||||
# git helper Makefile: Version 2.0 (2025-08-05)
|
||||
# git helper Makefile: Version 2.2 (2025-08-10)
|
||||
default: help
|
||||
|
||||
.ONESHELL:
|
||||
@ -33,20 +33,27 @@ 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
|
||||
# Init submodules
|
||||
for subdir in $$(find . -maxdepth 2 -mindepth 2 -name Makefile | sort); do
|
||||
SUBDIRS=$$(find . -maxdepth 2 -mindepth 2 -name Makefile | sort)
|
||||
for subdir in $$SUBDIRS; do
|
||||
$(MAKE) --no-print-directory -C $$(dirname $$subdir) init
|
||||
done
|
||||
if [[ $$SUBDIRS ]]; then
|
||||
$(MAKE) print_head
|
||||
fi
|
||||
# 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:
|
||||
|
2
caching
2
caching
@ -1 +1 @@
|
||||
Subproject commit 3d09e376493e1c61817ed28e52312b0f7c34c044
|
||||
Subproject commit 962cc24b53e18369166e80daa7df5238988e84f4
|
2
fstools
2
fstools
@ -1 +1 @@
|
||||
Subproject commit 77a072ae2125daf03479672f540f448388ffb7c3
|
||||
Subproject commit a1ce19458f203b15b7b1a91e49fac112d4ba6732
|
2
geo
2
geo
@ -1 +1 @@
|
||||
Subproject commit 23528b1ba66655ec95a416fa0d59ed0add102955
|
||||
Subproject commit 599835570e8be261f636b12b2e3d29dd5833608d
|
2
helpers
2
helpers
@ -1 +1 @@
|
||||
Subproject commit ce0da35adc732cef9937a1ec0d5914d1e5383f12
|
||||
Subproject commit 4c1b5c214914b5ecd2b6c6d025e1bc891fb89b35
|
2
keyboard
2
keyboard
@ -1 +1 @@
|
||||
Subproject commit 26efed83756417140623731800812bf8bcd0d303
|
||||
Subproject commit a69c6d6b683b0a3787bd09192891d9c2ff767699
|
2
media
2
media
@ -1 +1 @@
|
||||
Subproject commit 2ff65e09b75b0f994a35c09088062f576715f59a
|
||||
Subproject commit 1e7c87ea6fb748743c0b2b014220823453c5fccd
|
2
mqtt
2
mqtt
@ -1 +1 @@
|
||||
Subproject commit 75e83e53616f88c0be66a1d2d2fe3f471986ec33
|
||||
Subproject commit cd194fc618f62eaa80e6521dbcae3b240f2f0d7a
|
2
report
2
report
@ -1 +1 @@
|
||||
Subproject commit 50d3496c35291c3f1d3dff54acc2b0df2eaab2da
|
||||
Subproject commit 586effb2d58bc02d2d78fbc90f2fd3949ed4006d
|
@ -1 +1 @@
|
||||
Subproject commit 7b9cca61a130eed793e241620c7c2ed7fb2441de
|
||||
Subproject commit 2b49973f9a29fc72985fe2a7d175fc4973146664
|
@ -1 +1 @@
|
||||
Subproject commit 3cdc9fda81e5b8c5182af7e3826a08c96a351352
|
||||
Subproject commit 1f4567f048991c3df199cecb663bc5835593c7b6
|
@ -1 +1 @@
|
||||
Subproject commit 880e0b46b519199ea472fb57c59f28a23bcf86e7
|
||||
Subproject commit 53533fb8aa5338c1fdfb5ccc14f1d28c50a18914
|
2
task
2
task
@ -1 +1 @@
|
||||
Subproject commit f805e4f47c7e2331661e3bc5b43759f69292cd25
|
||||
Subproject commit fcd99302b854c23d0fc01d1f04134a97823cd08e
|
@ -1 +1 @@
|
||||
Subproject commit 6a49786c6ec47d479fcb4b4230452cb5c7e5b7cc
|
||||
Subproject commit ce41d2bd438a13395087bf8a4ab41f4de29c9d79
|
Loading…
x
Reference in New Issue
Block a user