Merge branch 'main' of gitlab.com:pointerstudio/utils/theatre
This commit is contained in:
commit
02765bc7ba
1 changed files with 19 additions and 0 deletions
19
buildAndCopy.sh
Executable file
19
buildAndCopy.sh
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
PREVIOUS_DIR=$(pwd)
|
||||||
|
DIR=${0:a:h}
|
||||||
|
SOURCE="$DIR/packages/browser-bundles/dist"
|
||||||
|
DESTINATION="/Users/asuk/Documents/Variable Font Tool/image-type-theatre/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"
|
||||||
|
|
||||||
|
cd $DIR
|
||||||
|
yarn build
|
||||||
|
|
||||||
|
rsync -raz --progress $SOURCE/ $DESTINATION/
|
||||||
|
|
||||||
|
ssh jrkb@nature.fritz.box cd /home/jrkb/openFrameworks/apps/celinesTypeGarden/msdf-theatre && git pull
|
||||||
|
ssh jrkb@nature.fritz.box /home/jrkb/runTheatre.sh
|
||||||
|
# rm -rf "$DESTINATION"
|
||||||
|
# cp -r "$SOURCE" "$DESTINATION"
|
||||||
|
|
||||||
|
cd $PREVIOUS_DIR
|
Loading…
Reference in a new issue