1
0
mirror of https://github.com/amix/vimrc synced 2025-07-07 00:15:00 +08:00

Add support with Go language.

This commit is contained in:
Kurtis Moxley
2022-05-27 20:16:55 +08:00
parent 71e3f2fa49
commit de80db5969
205 changed files with 29172 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#!/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