blob: 63fac83d9d6fa3fca33d17ccf1c1c6178fc47fb3 [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
3# Copyright (c) 2019, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8set -e
9
10if [ -d artefacts ]; then
Zelalem917b43e2020-08-04 11:39:55 -050011 # Remove everything except logs and scan-build artefacts such as
12 # .html, .js and .css files useful for offline debug of static
13 # analysis defects
14 find artefacts -type f -not \( -name "*.log" -o -name "*.html" -o -name "*.js" -o -name "*.css" \) -exec rm -f {} +
Fathi Boudra422bf772019-12-02 11:10:16 +020015fi