Fetching contributors…
Cannot retrieve contributors at this time
33 lines (25 sloc) 645 Bytes
#!/bin/bash
mono bin/Prebuild.exe /target vs2010 /targetframework v4_0 /conditionals "LINUX;NET_4_0"
if [ -d ".git" ]; then git log --pretty=format:"Aurora (%cd.%h)" --date=short -n 1 > bin/.version; fi
unset makebuild
unset makedist
while [ "$1" != "" ]; do
case $1 in
build ) makebuild=yes
;;
dist ) makedist=yes
;;
esac
shift
done
if [ "$makebuild" = "yes" ]; then
xbuild Aurora.sln
res=$?
if [ "$res" != "0" ]; then
exit $res
fi
if [ "$makedist" = "yes" ]; then
rm -f aurora-autobuild.tar.bz2
tar cjf aurora-autobuild.tar.bz2 bin
fi
fi