Skip to content

Commit

Permalink
Quick and dirty support for git lfs in all CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
zah committed Aug 22, 2023
1 parent dc4e564 commit 9d2152c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ GIT_SUBMODULE_UPDATE := git submodule update --init --recursive
.DEFAULT:
+@ echo -e "Git submodules not found. Running '$(GIT_SUBMODULE_UPDATE)'.\n"; \
$(GIT_SUBMODULE_UPDATE) && \
git submodule foreach --quiet 'git reset --quiet --hard' && \
git submodule foreach --quiet 'git reset --quiet --hard && git lfs init && git lfs pull' && \
echo
# Now that the included *.mk files appeared, and are newer than this file, Make will restart itself:
# https://www.gnu.org/software/make/manual/make.html#Remaking-Makefiles
Expand Down

0 comments on commit 9d2152c

Please sign in to comment.