This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
1 changed files with
2 additions and
2 deletions
|
|
@ -32,7 +32,7 @@ case "$TYPE" in
|
|
|
|
export PATH=$PATH:$GRADLE_HOME/bin
|
|
|
|
export PATH=$PATH:$GRADLE_HOME/bin
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
"browser")
|
|
|
|
"browser")
|
|
|
|
OUT_DIR="platforms/browser/www/*"
|
|
|
|
OUT_DIR="platforms/browser/www/"
|
|
|
|
SERV_DIR="/server/apache/TBasket/"
|
|
|
|
SERV_DIR="/server/apache/TBasket/"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
"electron")
|
|
|
|
"electron")
|
|
|
@ -57,4 +57,4 @@ echo "making delivery onto '$USER@$IP:$SERV_DIR'"
|
|
|
|
rsync -avz -I \
|
|
|
|
rsync -avz -I \
|
|
|
|
--rsync-path="mkdir -p \"$SERV_DIR\" && rsync" \
|
|
|
|
--rsync-path="mkdir -p \"$SERV_DIR\" && rsync" \
|
|
|
|
-e "ssh -o StrictHostKeyChecking=no" \
|
|
|
|
-e "ssh -o StrictHostKeyChecking=no" \
|
|
|
|
--delete "$OUT_DIR" "$USER@$IP"
|
|
|
|
--delete "$OUT_DIR" "$USER@$IP:/$SERV_DIR"
|