Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2014-10-23 21:19:02 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-10-23 21:19:02 +0400
commitcdf53701599ace0b3410cbb75b0313bd969c417c (patch)
tree449bc9bd14cc7aebdcca3bac863e3dd491dcb6b0 /build_files/scons/tools/Blender.py
parent179ad7dcba950c51dcb9726dc2350ff799780cc6 (diff)
Scons/funstuff: notify when the binaries are compiled
Diffstat (limited to 'build_files/scons/tools/Blender.py')
-rwxr-xr-xbuild_files/scons/tools/Blender.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py
index b5853b22455..d8094c0cf8c 100755
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -813,6 +813,9 @@ def AppIt(target=None, source=None, env=None):
commands.getoutput(cmd)
cmd = 'install_name_tool -change @loader_path/libiomp5.dylib @loader_path/../Resources/lib/libiomp5.dylib %s/%s.app/Contents/MacOS/%s'%(installdir, binary, binary) # change ref to libiomp5 ( blender )
commands.getoutput(cmd)
+ notification = 'display notification "Finished compiling %s" with title "Blender" sound name "default"'%(binary.upper())
+ cmd = "osascript -e '%s'"%(notification)
+ commands.getoutput(cmd)
# extract copy system python, be sure to update other build systems
# when making changes to the files that are copied.