theatre/buildAndCopy.sh

19 lines
639 B
Bash
Raw Permalink Normal View History

2023-05-02 13:49:23 +02:00
#!/bin/zsh
PREVIOUS_DIR=$(pwd)
DIR=${0:a:h}
SOURCE="$DIR/packages/browser-bundles/dist"
2023-08-05 12:41:34 +02:00
DESTINATION="/Users/asuk/Documents/openFrameworks/apps/variableLab/msdf-theatre/bin/web/node_modules/@theatre/browser-bundles/dist"
# DESTINATION="/Users/asuk/Documents/Variable Font Tool/msdf-theatre/bin/web/node_modules/@theatre/browser-bundles/dist"
2023-05-14 18:37:21 +02:00
# DESTINATION="jrkb@nature.fritz.box:/home/jrkb/openFrameworks/apps/celinesTypeGarden/msdf-theatre/bin/web/node_modules/@theatre/browser-bundles/dist"
2023-05-02 13:49:23 +02:00
cd $DIR
2023-09-22 13:32:33 +02:00
yarn cli build
2023-05-02 13:49:23 +02:00
rsync -raz --progress $SOURCE/ $DESTINATION/
# rm -rf "$DESTINATION"
# cp -r "$SOURCE" "$DESTINATION"
cd $PREVIOUS_DIR