diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-05-26 14:26:11 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-27 19:58:42 -0400 |
commit | 89bdcb1ed80b2d8724eaeb8fd5ba69c2064ffef6 (patch) | |
tree | 04d86c2666fa8a05dbbfaded6280c46f9eff1bba | |
parent | 8e3634212dc01b583db557d7b65d8aff01c60019 (diff) | |
download | rneovim-89bdcb1ed80b2d8724eaeb8fd5ba69c2064ffef6.tar.gz rneovim-89bdcb1ed80b2d8724eaeb8fd5ba69c2064ffef6.tar.bz2 rneovim-89bdcb1ed80b2d8724eaeb8fd5ba69c2064ffef6.zip |
Fix localization: Fix build: Improve checking.
Problem : Currently, 'make check' gives no explanations when it fails,
only the name of the po file which caused the halt. Then,
you have to manually run check.vim on that file to see what
happened.
Solution : Generate a 'check.log' file on every execution of check.vim
(overwriting if already existing). That way, when make halts,
you can go there and see details about failure.
-rw-r--r-- | src/nvim/po/check.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/po/check.vim b/src/nvim/po/check.vim index 5a3a0e3f46..e9d15adab5 100644 --- a/src/nvim/po/check.vim +++ b/src/nvim/po/check.vim @@ -6,6 +6,8 @@ if 1 " Only execute this if the eval feature is available. +redir! > check.log + " Function to get a split line at the cursor. " Used for both msgid and msgstr lines. " Removes all text except % items and returns the result. @@ -82,6 +84,8 @@ if error == 0 echo "OK" endif +redir END + let &wrapscan = s:save_wrapscan unlet s:save_wrapscan |