Fix missing compile.exe and unecessary compile.sh in Windows package (bug 6047, r=asherkin).

This commit is contained in:
Nicholas Hastings 2014-03-21 12:30:47 -04:00
parent cf8d05ae98
commit 9c1902b0e3

View File

@ -268,7 +268,6 @@ CopyFiles('plugins', 'addons/sourcemod/scripting',
'basetriggers.sp', 'basetriggers.sp',
'basevotes.sp', 'basevotes.sp',
'clientprefs.sp', 'clientprefs.sp',
'compile.sh',
'funcommands.sp', 'funcommands.sp',
'funvotes.sp', 'funvotes.sp',
'mapchooser.sp', 'mapchooser.sp',
@ -460,3 +459,8 @@ CopyFiles('plugins/playercommands', 'addons/sourcemod/scripting/playercommands',
'slay.sp', 'slay.sp',
] ]
) )
if builder.target_platform == 'windows':
CopyFiles('sourcepawn/batchtool', 'addons/sourcemod/scripting', ['compile.exe'])
else:
CopyFiles('plugins', 'addons/sourcemod/scripting', ['compile.sh'])