mirror of
https://github.com/posva/vim-vue.git
synced 2025-12-07 10:04:25 +08:00
Simplify testing commands using a Makefile
This commit is contained in:
28
Makefile
Normal file
28
Makefile
Normal file
@@ -0,0 +1,28 @@
|
||||
test: dependencies
|
||||
vim -u test/vimrc -c 'Vader! test/*.vader'
|
||||
|
||||
test-nvim: dependencies
|
||||
VADER_OUTPUT_FILE=/dev/stderr nvim -u test/vimrc -c 'Vader! test/*.vader' --headless
|
||||
|
||||
dependencies = \
|
||||
'junegunn/vader.vim' \
|
||||
'cakebaker/scss-syntax.vim' \
|
||||
'digitaltoad/vim-pug' \
|
||||
'groenewege/vim-less' \
|
||||
'kchmck/vim-coffee-script' \
|
||||
'leafgarland/typescript-vim' \
|
||||
'slm-lang/vim-slm' \
|
||||
'wavded/vim-stylus' \
|
||||
'scrooloose/nerdcommenter'
|
||||
|
||||
dependencies:
|
||||
test -L pack/testing/start/vim-vue && exit 0; \
|
||||
mkdir -p pack/testing/start; \
|
||||
cd pack/testing/start; \
|
||||
for repo in $(dependencies); do git clone https://github.com/$$repo.git; done; \
|
||||
ln -s ../../.. vim-vue
|
||||
|
||||
clean:
|
||||
rm -rf pack
|
||||
|
||||
.PHONY: test test-nvim dependencies clean
|
||||
Reference in New Issue
Block a user