MCPcopy Create free account
hub / github.com/cinder/Cinder / processExport

Function processExport

tools/scripts/packageRelease.py:54–66  ·  view source on GitHub ↗
( outputName, compilerName, version )

Source from the content-addressed store, hash-verified

52 print "python tools/packageRelease.py (version number) (xcode|vc2013|vc2015)"
53
54def processExport( outputName, compilerName, version ):
55 print "creating a clean clone of cinder"
56 baseDir = os.getcwd()
57 fileUrl = "file://" + baseDir
58 fileUrl.replace( os.sep, "/" )
59 os.system( "git clone --recursive --depth 1 -b master " + fileUrl + " .." + os.sep + "cinder_temp" )
60 os.chdir( baseDir + os.sep + ".." + os.sep + "cinder_temp" )
61 outputDir = baseDir + os.sep + ".." + os.sep + "cinder_" + version + "_" + outputName + os.sep
62 print "performing selective copy to " + outputDir
63 shutil.copytree( ".", outputDir, ignore=copyIgnore )
64 print "removing test"
65 shutil.rmtree( outputDir + "test" )
66 return outputDir
67
68def cleanupMswLibDir( dir ):
69 for f in os.listdir( dir ):

Callers 1

packageRelease.pyFile · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected