blob: dbfc4ebd501e3e7834719170233b02dbeccd6b5a [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#!/bin/bash
2#
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