Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
sudo: false
language: c
sudo: false

install:
- git clone --depth 1 https://github.com/vim/vim.git $HOME/vim
- (cd $HOME/vim/src && ./configure --enable-gui=no && make -j 4 vim)
- $HOME/vim/src/vim --version

script:
- make test
- make test VIM=$HOME/vim/src/vim
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# vim-jp/lang-ja

[![Join the chat at https://gitter.im/vim-jp/lang-ja](https://badges.gitter.im/vim-jp/lang-ja.svg)](https://gitter.im/vim-jp/lang-ja?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/vim-jp/lang-ja.svg?branch=master)](https://travis-ci.org/vim-jp/lang-ja)

Vimに付属する日本語翻訳ファイルを管理するリポジトリ

Expand Down
4 changes: 3 additions & 1 deletion src/po/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ CHECKFILES = ja.ck \

MSGFMT = OLD_PO_FILE_INPUT=yes msgfmt

VIM = vim

.SUFFIXES: .po .mo .ck

test: check $(MOFILES)
Expand Down Expand Up @@ -57,7 +59,7 @@ clean: checkclean
$(MSGFMT) --check -v -o $@ $<

.po.ck:
vim -u NONE --noplugins -e -s -X --cmd "set enc=utf-8" -S check.vim \
$(VIM) -u NONE --noplugins -e -s -X --cmd "set enc=utf-8" -S check.vim \
-c "if error == 0 | q | else | num 2 | cq | endif" $<
touch $@

Expand Down