source: orange/install-scripts/mac/dailyrun-bundleonly-hg.sh @ 10270:cd6dd1ffdaed

Revision 10270:cd6dd1ffdaed, 759 bytes checked in by ales_erjavec, 2 years ago (diff)

Added new MacOSX bundle building scripts for building orange from Mercurial repository.

Line 
1#!/bin/bash
2#
3# Should be run as: sudo ./dailyrun-bundleonly-hg.sh
4#
5
6MAC_VERSION=`sw_vers -productVersion | cut -d '.' -f 2`
7
8defaults write com.apple.desktopservices DSDontWriteNetworkStores true
9
10/Users/ailabc/mount-dirs.sh || { echo "Mounting failed." ; exit 1 ; }
11
12/Users/ailabc/bundle-daily-build-hg.sh /private/tmp &> /private/tmp/bundle-daily-build-hg.log
13EXIT_VALUE=$?
14
15/Users/ailabc/mount-dirs.sh || { echo "Mounting failed." ; exit 1 ; }
16
17LOG_FILE="/Volumes/download/buildLogs/osx/bundle-$MAC_VERSION-daily-build-hg.log"
18
19echo "Orange (bundle $MAC_VERSION) [$EXIT_VALUE]" > $LOG_FILE
20date >> $LOG_FILE
21cat /private/tmp/bundle-daily-build-hg.log >> $LOG_FILE
22(($EXIT_VALUE)) && echo "Running bundle-daily-build-hg.sh failed"
23
24# Zero exit value
25true
Note: See TracBrowser for help on using the repository browser.