[Bf-blender-cvs] [cdf5370] master: Scons/funstuff: notify when the binaries are compiled

Jens Verwiebe noreply at git.blender.org
Thu Oct 23 19:19:23 CEST 2014


Commit: cdf53701599ace0b3410cbb75b0313bd969c417c
Author: Jens Verwiebe
Date:   Thu Oct 23 19:19:02 2014 +0200
Branches: master
https://developer.blender.org/rBcdf53701599ace0b3410cbb75b0313bd969c417c

Scons/funstuff: notify when the binaries are compiled

===================================================================

M	build_files/scons/tools/Blender.py

===================================================================

diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py
index b5853b2..d8094c0 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.




More information about the Bf-blender-cvs mailing list