davx5-ose/scripts/copy-compiled.sh
2020-08-31 12:41:33 +02:00

10 lines
228 B
Bash
Executable file

#!/bin/sh
SOURCE_DIR=~/tmp/davx5
BASE_DIR=`dirname $0`/../app
MAPPING_DIR=$BASE_DIR/build/outputs/mapping
TARGET_DIR=$BASE_DIR/target
rsync -arvt $SOURCE_DIR/ $TARGET_DIR/
rsync -arvt $MAPPING_DIR/ $TARGET_DIR/latest-mapping/