File tree 5 files changed +34
-65
lines changed
5 files changed +34
-65
lines changed Original file line number Diff line number Diff line change
1
+ test : dependencies
2
+ vim -u test/vimrc -c ' Vader! test/*.vader'
3
+
4
+ test-nvim : dependencies
5
+ VADER_OUTPUT_FILE=/dev/stderr nvim -u test/vimrc -c ' Vader! test/*.vader' --headless
6
+
7
+ dependencies = \
8
+ 'junegunn/vader.vim' \
9
+ 'cakebaker/scss-syntax.vim' \
10
+ 'digitaltoad/vim-pug' \
11
+ 'groenewege/vim-less' \
12
+ 'kchmck/vim-coffee-script' \
13
+ 'leafgarland/typescript-vim' \
14
+ 'slm-lang/vim-slm' \
15
+ 'wavded/vim-stylus' \
16
+ 'scrooloose/nerdcommenter'
17
+
18
+ dependencies :
19
+ test -L pack/testing/start/vim-vue && exit 0; \
20
+ mkdir -p pack/testing/start; \
21
+ cd pack/testing/start; \
22
+ for repo in $( dependencies) ; do git clone https://github.com/$$ repo.git; done ; \
23
+ ln -s ../../.. vim-vue
24
+
25
+ clean :
26
+ rm -rf pack
27
+
28
+ .PHONY : test test-nvim dependencies clean
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ dependencies:
3
3
- sudo add-apt-repository ppa:jonathonf/vim -y
4
4
- sudo apt-get update
5
5
- sudo apt-get install vim
6
- - bash test/install.sh
6
+ - make dependencies
7
7
8
8
test :
9
9
override :
10
- - vim -u test/vimrc -c 'Vader! test/*.vader'
10
+ - make test
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ npm i -g eslint eslint-plugin-vue
45
45
If your language is not getting highlighted open an issue or a PR with the fix.
46
46
You only need to add a line to the ` syntax/vue.vim ` file.
47
47
48
+ Don't forget to write [ Vader] ( https://github.com/junegunn/vader.vim ) tests for
49
+ the code you write. You can run the tests by executing ` make test ` in the
50
+ terminal.
51
+
48
52
## FAQ
49
53
50
54
### Where is Jade?
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments