Update list-maintainers to output redmine syntax
[hoomd-blue.git] / packaging / mac / mac-build-nightly.sh
blob381c70389bec7c994e47ef36dbcb8f497f526a77
1 BRANCH=maint
3 echo "--- Building nightly Mac OS X hoomd package on `date`"
5 # get up to the root of the tree
6 cd ..
7 cd ..
9 # update to the latest rev
10 git fetch
11 git checkout ${BRANCH}
12 git pull --ff-only
14 new_rev=`git describe`
16 # up another level out of the source repository
17 cd ..
19 #check the previous version built
20 atrev=`cat mac_old_revision || echo 0`
21 echo "Last revision built was $atrev"
22 echo "Current repository revision is $new_rev"
24 if [ "$atrev" = "$new_rev" ];then
25 echo "up to date"
26 else
27 echo $new_rev > mac_old_revision
29 # build the new package
30 rm -rf build
31 mkdir build
32 cd build
34 cmake -DENABLE_DOXYGEN=OFF -DENABLE_APP_BUNDLE_INSTALL=ON -DBOOST_ROOT=/opt/boost-1.48.0/ -DBoost_NO_SYSTEM_PATHS=ON -DPYTHON_EXECUTABLE=/usr/bin/python ../code
36 make package -j6
37 mv hoomd-*.dmg /Users/joaander/devel/incoming/mac
40 echo "--- Done!"
41 echo ""