1#!/usr/bin/env bash 2# This file is part of libmodulemd 3# Copyright (C) 2018 Stephen Gallagher 4# 5# Fedora-License-Identifier: MIT 6# SPDX-2.0-License-Identifier: MIT 7# SPDX-3.0-License-Identifier: MIT 8# 9# This program is free software. 10# For more information on the license, see COPYING. 11# For more information on free software, see 12# <https://www.gnu.org/philosophy/free-sw.en.html>. 13 14ninja scan-build 15if [ $? -eq 0 ]; then 16 exit 0 17else 18 elinks -dump meson-logs/scanbuild/*/index.html 19 exit 1 20fi 21