summaryrefslogtreecommitdiff
path: root/Meta/refresh-serenity-qtcreator.sh
blob: 5666f0f52fe9beecc03d60eead0187556443548c (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ -z "$SERENITY_ROOT" ]
then echo "Serenity root not set. Please set environment variable first. E.g. export SERENITY_ROOT=$(git rev-parse --show-toplevel)"
fi

cd "$SERENITY_ROOT" || exit 1
find . -name '*.ipc' -or -name '*.cpp' -or -name '*.idl' -or -name '*.c' -or -name '*.h' -or -name '*.S' -or -name '*.css' | grep -Fv Patches/ | grep -Fv Root/ | grep -Fv Ports/ | grep -Fv Toolchain/ | grep -Fv Base/ > serenity.files