File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,4 @@ script:
2727 - which -a vim
2828 - vim --cmd version --cmd quit
2929 - test/run.sh
30+ - make check
Original file line number Diff line number Diff line change 11VIM_COMPILER: =vim -N --cmd 'set rtp+=.' -c q -u
2+ COMPILED_FILES: =js/vimlparser.js py/vimlparser.py
23
3- all : js/vimlparser.js py/vimlparser.py
4+ all : $( COMPILED_FILES )
45
56js/vimlparser.js : autoload/vimlparser.vim js/jscompiler.vim js/vimlfunc.js
67 $(VIM_COMPILER ) js/jscompiler.vim
78
89py/vimlparser.py : autoload/vimlparser.vim py/pycompiler.vim py/vimlfunc.py
910 $(VIM_COMPILER ) py/pycompiler.vim
11+
12+ check : all
13+ git diff --exit-code $(COMPILED_FILES ) || { \
14+ echo ' Compiled files were updated, but should have been committed.' ; \
15+ exit 1; }
You can’t perform that action at this time.
0 commit comments