mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-22 08:52:14 -05:00
14 lines
271 B
Bash
Executable File
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
|
|
|