Skip to content

Commit e224e3d

Browse files
committed
MSW updates to packageRelease.py
1 parent fbe65d4 commit e224e3d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tools/scripts/packageRelease.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ def printUsage():
5858
def processExport( outputName, compilerName, version ):
5959
print "creating a clean clone of cinder"
6060
baseDir = os.getcwd()
61-
os.system( "git clone --recursive --depth 1 -b master . ../cinder_temp/" )
61+
fileUrl = "file://" + baseDir
62+
fileUrl.replace( os.sep, "/" )
63+
os.system( "git clone --recursive --depth 1 -b master " + fileUrl + " .." + os.sep + "cinder_temp" )
6264
os.chdir( baseDir + os.sep + ".." + os.sep + "cinder_temp" )
6365
outputDir = baseDir + os.sep + ".." + os.sep + "cinder_" + version + "_" + outputName + os.sep
6466
print "performing selective copy to " + outputDir
@@ -100,14 +102,13 @@ def cleanupMswLibDir( dir ):
100102
outputDir = processExport( "vc2013", "vc2013", sys.argv[1] )
101103
os.chdir( outputDir + "proj\\vc2013" )
102104
os.system( "msbuild cinder.vcxproj /p:platform=win32 /p:configuration=debug" )
103-
shutil.rmtree( outputDir + "proj\\vc2013\\Debug" )
104105
os.system( "msbuild cinder.vcxproj /p:platform=win32 /p:configuration=release" )
105-
shutil.rmtree( outputDir + "proj\\vc2013\\Release" )
106+
shutil.rmtree( outputDir + "proj\\vc2013\\build" )
106107
# os.system( "msbuild cinder.vcxproj /p:platform=x64 /p:configuration=debug" )
107108
# shutil.rmtree( outputDir + "vc2013\\x64\\Debug" )
108109
# os.system( "msbuild cinder.vcxproj /p:platform=x64 /p:configuration=release" )
109110
# shutil.rmtree( outputDir + "vc2013\\x64\\Release" )
110-
cleanupMswLibDir( outputDir + "lib\\msw\\x86" )
111+
cleanupMswLibDir( outputDir + "lib\\msw\\x86\\debug" )
111112
# cleanupMswLibDir( outputDir + "lib\\msw\\x64" )
112113
elif sys.argv[2] == 'vc2015':
113114
gCompiler = 'vc2015'

0 commit comments

Comments
 (0)