mailiverse/build/compile-web
2013-09-02 13:43:11 -04:00

14 lines
271 B
Bash
Executable File

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