File: pre-commit

package info (click to toggle)
vim-link-vim 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 524 kB
  • sloc: python: 66; makefile: 30
file content (20 lines) | stat: -rwxr-xr-x 357 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash

set -euo pipefail

print_title() {
  local title="$1"
  printf "\033[1;33m"
  printf "%s" "$title"
  printf "\033[0m"
  printf "\n"
}

print_title "Running linter..."
make lint-docker

print_title "Running tests in Vim inside Docker..."
make test-vim-docker

print_title "Running tests in Neovim inside Docker..."
make test-nvim-docker