mailiverse/build/compile-web

14 lines
269 B
Plaintext
Raw Normal View History

#!/bin/bash
2013-09-02 13:20:56 -04:00
if [ -z "$1" ]; then echo "Must supply prod or dev"; exit 0; fi
V=`date "+%Y%m%d_%H%M%S"`
2013-09-02 13:20:56 -04:00
M=$1
2013-09-02 13:20:56 -04:00
rsync -avL --delete ../web/WebContent/ www/
rsync -avL --delete ../gwt/war/mailiverse_gwt www/mailiverse_gwt
2013-09-02 13:20:56 -04:00
./compile-web-html $V $M
./compile-web-js $V $M