2019-11-02 16:34:54 +00:00
|
|
|
#!/bin/sh
|
2019-08-16 14:39:56 +00:00
|
|
|
|
2020-08-15 11:03:56 +00:00
|
|
|
set -e
|
|
|
|
|
2021-04-20 00:51:04 +00:00
|
|
|
if [ -z "$SERENITY_SOURCE_DIR" ]
|
2020-08-15 11:03:56 +00:00
|
|
|
then
|
2021-04-20 00:51:04 +00:00
|
|
|
SERENITY_SOURCE_DIR="$(git rev-parse --show-toplevel)"
|
2020-08-15 11:03:56 +00:00
|
|
|
echo "Serenity root not set. This is fine! Other scripts may require you to set the environment variable first, e.g.:"
|
2021-04-20 00:51:04 +00:00
|
|
|
echo " export SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}"
|
2019-12-24 08:23:43 +00:00
|
|
|
fi
|
|
|
|
|
2021-04-20 00:51:04 +00:00
|
|
|
cd "$SERENITY_SOURCE_DIR"
|
2020-08-15 11:03:56 +00:00
|
|
|
|
2021-09-15 19:31:18 +00: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 '*.cmake' -or -name '*.json' -or -name '*.gml' -or -name 'CMakeLists.txt' \) -print > serenity.files
|