0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00
penpot/backend/scripts/prepare-release.sh

17 lines
334 B
Bash
Raw Normal View History

#!/usr/bin/env bash
if [ "$#" -e 0 ]; then
2019-06-24 12:38:51 -05:00
echo "Expecting parameters: 1=path to backend; 2=destination directory"
exit 1
fi
rm -rf $2 || exit 1;
rsync -avr \
2019-06-24 12:38:51 -05:00
--exclude="/test" \
--exclude="/resources/public/media" \
--exclude="/target" \
--exclude="/scripts" \
--exclude="/.*" \
$1 $2;