From: Johannes Schindelin <johannes.schinde...@gmx.de>

In the CI builds, we bundle all generated files into a so-called
artifacts `.tar` file, so that the test phase can fan out into multiple
parallel builds.

This patch makes sure that all files are included in the `vcxproj`
target which are needed for that artifacts `.tar` file.

Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
 config.mak.uname | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/config.mak.uname b/config.mak.uname
index 701aad62b1..cc8efd95b1 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -728,11 +728,10 @@ vcxproj:
 
        # Add scripts
        rm -f perl/perl.mak
-       $(MAKE) MSVC=1 SKIP_VCPKG=1 prefix=/mingw64 \
-               $(SCRIPT_LIB) $(SCRIPT_SH_GEN) $(SCRIPT_PERL_GEN)
+       $(MAKE) MSVC=1 SKIP_VCPKG=1 prefix=/mingw64 $(SCRIPT_LIB) $(SCRIPTS)
        # Strip out the sane tool path, needed only for building
        sed -i '/^git_broken_path_fix ".*/d' git-sh-setup
-       git add -f $(SCRIPT_LIB) $(SCRIPT_SH_GEN) $(SCRIPT_PERL_GEN)
+       git add -f $(SCRIPT_LIB) $(SCRIPTS)
 
        # Add Perl module
        $(MAKE) $(LIB_PERL_GEN)
@@ -762,6 +761,10 @@ vcxproj:
        $(MAKE) -C templates
        git add -f templates/boilerplates.made templates/blt/
 
+       # Add the translated messages
+       make MSVC=1 SKIP_VCPKG=1 prefix=/mingw64 $(MOFILES)
+       git add -f $(MOFILES)
+
        # Add build options
        $(MAKE) MSVC=1 SKIP_VCPKG=1 prefix=/mingw64 GIT-BUILD-OPTIONS
        git add -f GIT-BUILD-OPTIONS
-- 
gitgitgadget

Reply via email to