build_servers.sh 324 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/bash

cd $(git rev-parse --show-toplevel)

# compile server
build() {
	cd $1
	shift
	gradle clean build $@
	cd ..
}
build RMBTControlServer -PRMBT_SECRET_KEY=rmbt_secret_key -PRMBT_DB_USERNAME=pguser -PRMBT_DB_PASSWORD=pgpass -PRMBT_DB_HOST=pghost
build RMBTStatisticServer
build RMBTMapServer
build RMBTQoSServer