630be49632
subrepo: subdir: "dotfiles/.vim/plugged/vim-go" merged: "22b2273cf" upstream: origin: "https://github.com/fatih/vim-go.git" branch: "master" commit: "22b2273cf" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
15 lines
381 B
Bash
Executable file
15 lines
381 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Run all tests inside a Docker container
|
|
#
|
|
|
|
set -euC
|
|
vimgodir=$(cd -P "$(dirname "$0")/.." > /dev/null && pwd)
|
|
cd "$vimgodir"
|
|
|
|
docker build --tag vim-go-test .
|
|
# seccomp=confined is required for dlv to run in a container, hence it's
|
|
# required for vim-go's debug tests.
|
|
docker run -e VIMS --rm --security-opt="seccomp=unconfined" vim-go-test
|
|
|
|
# vim:ts=2:sts=2:sw=2:et
|