2023-05-02 13:49:23 +02:00
|
|
|
#!/bin/zsh
|
|
|
|
|
|
|
|
PREVIOUS_DIR=$(pwd)
|
|
|
|
DIR=${0:a:h}
|
|
|
|
SOURCE="$DIR/packages/browser-bundles/dist"
|
2023-05-04 10:38:14 +02:00
|
|
|
DESTINATION="/Users/asuk/Documents/Variable Font Tool/msdf-theatre/bin/data/web/node_modules/@theatre/browser-bundles/dist"
|
|
|
|
# DESTINATION="jrkb@nature.fritz.box:/home/jrkb/openFrameworks/apps/celinesTypeGarden/msdf-theatre/bin/data/web/node_modules/@theatre/browser-bundles/dist"
|
2023-05-02 13:49:23 +02:00
|
|
|
|
|
|
|
cd $DIR
|
|
|
|
yarn build
|
|
|
|
|
|
|
|
rsync -raz --progress $SOURCE/ $DESTINATION/
|
|
|
|
|
|
|
|
# rm -rf "$DESTINATION"
|
|
|
|
# cp -r "$SOURCE" "$DESTINATION"
|
|
|
|
|
|
|
|
cd $PREVIOUS_DIR
|