gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[reclaim-webextension] 72/95: improve submodule update


From: gnunet
Subject: [reclaim-webextension] 72/95: improve submodule update
Date: Fri, 11 Jun 2021 23:35:57 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository reclaim-webextension.

commit cd2f6e109660b21b630e873c1ff950449243548e
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Tue Nov 24 11:01:03 2020 +0900

    improve submodule update
---
 Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 6182dff..b5920e5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,15 @@
 all: build firefox chrome
 
-build:
+.PHONY: check-and-reinit-submodules
+check-and-reinit-submodules:
+       @if git submodule status | egrep -q '^[-]|^[+]' ; then \
+               echo "INFO: Need to reinitialize git submodules"; \
+               git submodule update --init; \
+       else \
+               echo "INFO: Submodules up to date"; \
+       fi
+
+build: check-and-reinit-submodules
        ./bin/build_plugin
 
 firefox: build

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]