blob: c12b2768a3cfcb0eb93812fa93101e21f5406346 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import os
builder.SetBuildFolder('package')
dir_map = {dir: builder.AddFolder(os.path.normpath(dir)) for dir in [
'addons/sourcemod/extensions',
'addons/sourcemod/scripting',
'addons/sourcemod/scripting/include',
]}
def CopyFile(src, dst):
builder.AddCopy(os.path.join(builder.sourcePath, src), dir_map[dst])
CopyFile('pawn/scripting/curl_self_test.sp', 'addons/sourcemod/scripting')
CopyFile('pawn/scripting/include/cURL.inc', 'addons/sourcemod/scripting/include')
CopyFile('pawn/scripting/include/cURL_header.inc', 'addons/sourcemod/scripting/include')
for cxx_task in Extension.extensions:
builder.AddCopy(cxx_task.binary, dir_map['addons/sourcemod/extensions'])
|