1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

Meta: Remove existing test directories before copying new ones in

Previously, we would end up with `js-tests/Tests` and `web-tests/Tests`
because the previous directories were already there.
This commit is contained in:
Ali Mohammad Pur 2021-05-04 07:34:20 +04:30 committed by Andreas Kling
parent 415fd4d2ec
commit 8449521064

View file

@ -104,6 +104,7 @@ mkdir -p mnt/home/anon
mkdir -p mnt/home/anon/Desktop
mkdir -p mnt/home/anon/Downloads
mkdir -p mnt/home/nona
rm -fr mnt/home/anon/js-tests mnt/home/anon/web-tests
cp "$SERENITY_SOURCE_DIR"/README.md mnt/home/anon/
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibJS/Tests mnt/home/anon/js-tests
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibWeb/Tests mnt/home/anon/web-tests