exclude addons_contrib for release builds for scons/osx too
This commit is contained in:
@@ -34,6 +34,7 @@ import bcolors
|
|||||||
bc = bcolors.bcolors()
|
bc = bcolors.bcolors()
|
||||||
import btools
|
import btools
|
||||||
VERSION = btools.VERSION
|
VERSION = btools.VERSION
|
||||||
|
VERSION_RELEASE_CYCLE = btools.VERSION_RELEASE_CYCLE
|
||||||
|
|
||||||
Split = SCons.Util.Split
|
Split = SCons.Util.Split
|
||||||
Action = SCons.Action.Action
|
Action = SCons.Action.Action
|
||||||
@@ -584,6 +585,10 @@ def AppIt(target=None, source=None, env=None):
|
|||||||
cmd = 'cp -R %s/release/scripts %s/%s.app/Contents/MacOS/%s/'%(bldroot,installdir,binary,VERSION)
|
cmd = 'cp -R %s/release/scripts %s/%s.app/Contents/MacOS/%s/'%(bldroot,installdir,binary,VERSION)
|
||||||
commands.getoutput(cmd)
|
commands.getoutput(cmd)
|
||||||
|
|
||||||
|
if VERSION_RELEASE_CYCLE == "release":
|
||||||
|
cmd = 'rm -rf %s/%s.app/Contents/MacOS/%s/scripts/addons_contrib'%(installdir,binary,VERSION)
|
||||||
|
commands.getoutput(cmd)
|
||||||
|
|
||||||
if env['WITH_BF_CYCLES']:
|
if env['WITH_BF_CYCLES']:
|
||||||
croot = '%s/intern/cycles' % (bldroot)
|
croot = '%s/intern/cycles' % (bldroot)
|
||||||
cinstalldir = '%s/%s.app/Contents/MacOS/%s/scripts/addons/cycles' % (installdir,binary,VERSION)
|
cinstalldir = '%s/%s.app/Contents/MacOS/%s/scripts/addons/cycles' % (installdir,binary,VERSION)
|
||||||
|
Reference in New Issue
Block a user