mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 00:56:11 +02:00
feat: enable runnint test on travis
This commit is contained in:
parent
4da6ae0a74
commit
31766fde32
8 changed files with 79 additions and 105 deletions
16
backend/scripts/prepare-release.sh
Executable file → Normal file
16
backend/scripts/prepare-release.sh
Executable file → Normal file
|
@ -1,16 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$#" -e 0 ]; then
|
||||
echo "Expecting parameters: 1=path to backend; 2=destination directory"
|
||||
exit 1
|
||||
echo "Expecting parameters: 1=path to backend; 2=destination directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -rf $2 || exit 1;
|
||||
|
||||
rsync -avr \
|
||||
--exclude="/test" \
|
||||
--exclude="/resources/public/media" \
|
||||
--exclude="/target" \
|
||||
--exclude="/scripts" \
|
||||
--exclude="/.*" \
|
||||
$1 $2;
|
||||
--exclude="/test" \
|
||||
--exclude="/resources/public/media" \
|
||||
--exclude="/target" \
|
||||
--exclude="/scripts" \
|
||||
--exclude="/.*" \
|
||||
$1 $2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue