view src/po/fixfilenames.vim @ 32851:8e9fbfc90732 v9.0.1736

patch 9.0.1736: Github Actions times out after 20 minutes Commit: https://github.com/vim/vim/commit/07a2b61d4c76b264740a47fac781803a9b8bcc08 Author: Christian Brabandt <cb@256bit.org> Date: Fri Aug 18 01:18:22 2023 +0200 patch 9.0.1736: Github Actions times out after 20 minutes Problem: Github Actions times out after 20 minutes Solution: Increase the timeout to 25 minutes Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 18 Aug 2023 01:30:02 +0200
parents aa91480771fe
children 04563887d70e
line wrap: on
line source

" Invoked with the name "vim.pot" and a list of Vim script names.
" Converts them to a .js file, stripping comments, so that xgettext works.

set shortmess+=A

for name in argv()[1:]
  let jsname = fnamemodify(name, ":t:r") .. ".js"
  exe "%s+" .. jsname .. "+" .. substitute(name, '\\', '/', 'g') .. "+"
endfor

write
last
quit