1
0
Fork 0
arangodb/Installation/file-list-js.sh

32 lines
730 B
Bash
Executable File

#!/bin/bash
set -e
SRCDIR=$1
(
cd ${SRCDIR}
find \
js/actions \
js/apps/system/_admin \
js/apps/system/_api \
js/apps/system/_system \
js/client \
js/common \
js/node \
js/server \
\
-type f -print
) \
| egrep -v "^js/common/tests/" \
| egrep -v "^js/common/test-data/" \
| egrep -v "^js/client/tests/" \
| egrep -v "^js/client/test-data/" \
| egrep -v "^js/server/tests/" \
| egrep -v "^js/server/test-data/" \
| egrep -v "^js/apps/system/_admin/.*/node_modules/" \
| egrep -v "^js/apps/system/.*/test/" \
| egrep -v "^js/apps/system/.*/test_data/" \
| egrep -v "^js/apps/system/.*/coverage/" \
| egrep -v "fileset.*tests.*fixtures.*an.*odd.*filename"