mirror of
https://github.com/minetest/minetest.git
synced 2024-11-24 00:23:46 +01:00
14 lines
345 B
Bash
Executable File
14 lines
345 B
Bash
Executable File
#! /bin/bash -eu
|
|
|
|
cmake -B build -DCMAKE_BUILD_TYPE=Debug \
|
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
|
-DRUN_IN_PLACE=TRUE \
|
|
-DENABLE_{GETTEXT,SOUND}=FALSE \
|
|
-DBUILD_SERVER=TRUE
|
|
cmake --build build --target GenerateVersion
|
|
|
|
./util/ci/run-clang-tidy.py \
|
|
-clang-tidy-binary=clang-tidy-9 -p build \
|
|
-quiet -config="$(cat .clang-tidy)" \
|
|
'src/.*'
|