1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-29 14:51:17 +00:00
8bitworkshop/scripts/sync-dev.sh
2020-07-05 17:23:31 -05:00

7 lines
279 B
Bash
Executable File

#!/bin/bash
. ./scripts/env.sh
DESTPATH=$RSYNC_PATH/dev/
git ls-files -z | rsync --stats -riltz --exclude '.*' --exclude 'scripts/*' --exclude=node_modules --chmod=a+rx -e "ssh" --files-from - -0 . $DESTPATH
rsync --stats -riltz --chmod=a+rx -e "ssh" ./gen config.js $DESTPATH/