mirror of
https://github.com/ernstwi/vim-secret.git
synced 2026-01-07 09:07:58 +08:00
Add Docker setup for testing
This commit is contained in:
parent
186645a0aa
commit
5b8a833fe9
4 changed files with 58 additions and 22 deletions
|
|
@ -41,6 +41,9 @@ See [`:help secret-highlight`](./doc/secret.txt#L74) for more info.
|
|||
|
||||
## Testing
|
||||
|
||||
`make` can be used to do testing in an isolated environment. The default target runs `test/*.vader` in Vim and Neovim.
|
||||
Docker can be used to run tests in an isolated environment:
|
||||
|
||||
Thanks to [vim-sneak](https://github.com/justinmk/vim-sneak) for this idea.
|
||||
```
|
||||
$ docker build -t vim-secret .
|
||||
$ docker run --rm vim-secret [--verbose]
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue