mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
14 lines
698 B
Bash
Executable file
14 lines
698 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ -z "$LADYBIRD_SOURCE_DIR" ]
|
|
then
|
|
LADYBIRD_SOURCE_DIR="$(git rev-parse --show-toplevel)"
|
|
echo "Ladybird root not set. This is fine! Other scripts may require you to set the environment variable first, e.g.:"
|
|
echo " export LADYBIRD_SOURCE_DIR=${LADYBIRD_SOURCE_DIR}"
|
|
fi
|
|
|
|
cd "${LADYBIRD_SOURCE_DIR}"
|
|
|
|
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 '*.in' -or -name '*.S' -or -name '*.css' -or -name '*.cmake' -or -name '*.json' -or -name '*.gml' -or -name 'CMakeLists.txt' \) -print > ladybird.files
|