mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
6d57bb89c1
* build: move the logic for linters to cmake Cmake is our source of truth. We should have as much of our build process there as possible so everyone can make use of it. * build: remove redundant check for ninja generator The minimum cmake version as of writing this is 3.10, which has ninja support.
25 lines
426 B
Bash
Executable File
25 lines
426 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
source "${CI_DIR}/common/build.sh"
|
|
source "${CI_DIR}/common/suite.sh"
|
|
|
|
rm -f "$END_MARKER"
|
|
|
|
# Run all tests if no input argument is given
|
|
if (($# == 0)); then
|
|
tests=('lintcfull' 'lintlua' 'lintpy' 'lintsh' 'check-single-includes')
|
|
else
|
|
tests=("$@")
|
|
fi
|
|
|
|
for i in "${tests[@]}"; do
|
|
make "$i" || fail "$i"
|
|
done
|
|
|
|
end_tests
|