Files
artcraft/deploy.sh
T
Brandon Thomas d9c315fc28 animation, part 2
- minify flag for webpack
- add second animation
- fix existing animation (transition between stop and idle)
- abstraction of animation code into new class
2016-11-04 02:41:04 -04:00

26 lines
664 B
Bash
Executable File

#!/bin/bash
# Upload everything to the server.
# Sound Library
pushd ~/Dropbox/jungle.horse
rsync -utrv sounds bt@jungle.horse:/home/bt/dev/trumpet
popd
# Config and Dictionaries
rsync -utrv dictionary bt@jungle.horse:/home/bt/dev/trumpet
rsync -utrv config.toml bt@jungle.horse:/home/bt/dev/trumpet
# Frontend
rsync -utrv web/images bt@jungle.horse:/home/bt/dev/trumpet/web
rsync -utrv web/{*css,*html,*txt} bt@jungle.horse:/home/bt/dev/trumpet/web
pushd frontend
MINIFY=1 webpack
popd
gulp
rsync -utrv web/output bt@jungle.horse:/home/bt/dev/trumpet/web
# Server
cargo build --release
rsync -utrv target/release/trumpet bt@jungle.horse:/home/bt/dev/trumpet