blob: efd0d5cf52d9dd1ad526fb2871354979e3872b65 (
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 '*.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
|