tools/buildbot/PackageScript
changeset 4189 aa16ed5e4219
parent 4186 c6a694ae8566
child 4191 16418a751d51
     1.1 --- a/tools/buildbot/PackageScript	Mon Dec 30 17:51:00 2013 -0500
     1.2 +++ b/tools/buildbot/PackageScript	Mon Dec 30 17:51:00 2013 -0500
     1.3 @@ -51,6 +51,14 @@
     1.4    builder.AddCopy(cxx_task.binary, folder_map['addons/sourcemod/extensions'])
     1.5  builder.AddCopy(SM.spcomp.binary, folder_map['addons/sourcemod/scripting'])
     1.6  
     1.7 +# Export PDB files. We write to a file in the build folder which is pretty
     1.8 +# verboten, but it's okay if it's in the root since AMBuild will never try
     1.9 +# to rmdir the root.
    1.10 +full_binary_list = SM.binaries + SM.extensions + [SM.spcomp]
    1.11 +with open(os.path.join(builder.buildPath, 'pdblog.txt'), 'w') as fp:
    1.12 +  for task in full_binary_list:
    1.13 +    fp.write(task.debug.path + '\n')
    1.14 +
    1.15  # Copy plugins.
    1.16  disabled_plugins = set([
    1.17    'admin-sql-prefetch.smx',