2019-11-02 12:34:54 -04:00
|
|
|
#!/bin/sh
|
2019-08-16 10:39:56 -04:00
|
|
|
|
2020-08-15 07:03:56 -04:00
|
|
|
set -e
|
|
|
|
|
2020-02-10 01:09:08 -05:00
|
|
|
if [ -z "$SERENITY_ROOT" ]
|
2020-08-15 07:03:56 -04:00
|
|
|
then
|
|
|
|
SERENITY_ROOT="$(git rev-parse --show-toplevel)"
|
|
|
|
echo "Serenity root not set. This is fine! Other scripts may require you to set the environment variable first, e.g.:"
|
|
|
|
echo " export SERENITY_ROOT=${SERENITY_ROOT}"
|
2019-12-24 03:23:43 -05:00
|
|
|
fi
|
|
|
|
|
2020-08-15 07:03:56 -04:00
|
|
|
cd "$SERENITY_ROOT"
|
|
|
|
|
2020-09-14 13:55:06 -04:00
|
|
|
find . \( -name Base -o -name Patches -o -name Ports -o -name Root -o -name Toolchain -o -name Build \) -prune -o \( -name '*.ipc' -or -name '*.cpp' -or -name '*.idl' -or -name '*.c' -or -name '*.h' -or -name '*.S' -or -name '*.css' -or -name '*.json' \) -print > serenity.files
|