2019-11-02 19:34:54 +03:00
|
|
|
#!/bin/sh
|
2019-08-16 17:39:56 +03:00
|
|
|
|
2020-08-15 14:03:56 +03:00
|
|
|
set -e
|
|
|
|
|
2021-04-20 03:51:04 +03:00
|
|
|
if [ -z "$SERENITY_SOURCE_DIR" ]
|
2020-08-15 14:03:56 +03:00
|
|
|
then
|
2021-04-20 03:51:04 +03:00
|
|
|
SERENITY_SOURCE_DIR="$(git rev-parse --show-toplevel)"
|
2020-08-15 14:03:56 +03: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 03:51:04 +03:00
|
|
|
echo " export SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}"
|
2019-12-24 11:23:43 +03:00
|
|
|
fi
|
|
|
|
|
2021-04-20 03:51:04 +03:00
|
|
|
cd "$SERENITY_SOURCE_DIR"
|
2020-08-15 14:03:56 +03:00
|
|
|
|
2021-09-15 22:31:18 +03: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
|