mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-24 11:55:28 -04:00
14 lines
440 B
Bash
14 lines
440 B
Bash
#Get the destination, or copy by default to release directory
|
|
DESTINATION=../../Binaries/Output/Release_Linux/JsPlatform/Runtime/
|
|
if [ ! $# -eq 0 ]; then
|
|
DESTINATION=$1
|
|
fi
|
|
|
|
#Copy all js files
|
|
echo "Copying GDJS and extensions runtime files (*.js) to '$DESTINATION'..."
|
|
|
|
mkdir -p "$DESTINATION"
|
|
cp -R ../Runtime/* "$DESTINATION"
|
|
rsync -r -u --include=*.js --include=*/ --exclude=* ../../Extensions/ "$DESTINATION"/Extensions/
|
|
|
|
echo "Done." |