0
0
Fork 0
mirror of https://github.com/mumble-voip/mumble.git synced 2025-03-15 04:55:00 +00:00
mumble-voip_mumble/.ci/azure-pipelines/checkDocs.bash
Robert Adam 330c356e71 MAINT: Remove copyright year from all copyright notices
Keeping these up-to-date is just super tedious and they don't really
fulfill any purpose these days.
2024-09-30 18:06:20 +02:00

20 lines
649 B
Bash
Executable file

#!/usr/bin/env bash
#
# Copyright The Mumble Developers. All rights reserved.
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file at the root of the
# Mumble source tree or at <https://www.mumble.info/LICENSE>.
set -e
# Get path to the script that generates the cmake options docs
generateScript="$BUILD_SOURCESDIRECTORY/scripts/generate_cmake_options_docs.py"
# Get current content of the docs
currentDocs="$BUILD_SOURCESDIRECTORY/docs/dev/build-instructions/cmake_options.md"
generatedDocs="/tmp/generated_docs.md"
"$generateScript" > "$generatedDocs"
diff -u "$currentDocs" "$generatedDocs"