mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Ship license files with builds.
This commit is contained in:
parent
9c08b11a75
commit
d1122b982c
@ -14,6 +14,7 @@ ModPackages = {
|
||||
}
|
||||
|
||||
folder_list = [
|
||||
'base/addons/amxmodx',
|
||||
'base/addons/amxmodx/configs',
|
||||
'base/addons/amxmodx/data',
|
||||
'base/addons/amxmodx/data/lang',
|
||||
@ -357,3 +358,17 @@ for datafile in datafiles:
|
||||
source = os.path.join(builder.sourcePath, 'plugins', 'lang', datafile),
|
||||
output_path = folder_map['base/addons/amxmodx/data/lang']
|
||||
)
|
||||
|
||||
# Copy license files
|
||||
licenses = [
|
||||
'ACKNOWLEDGEMENTS.txt',
|
||||
'GPLv2.txt',
|
||||
'GPLv3.txt',
|
||||
'LICENSE.txt',
|
||||
]
|
||||
|
||||
for license in licenses:
|
||||
builder.AddCopy(
|
||||
source = os.path.join(builder.sourcePath, 'public', 'licenses', license),
|
||||
output_path = folder_map['base/addons/amxmodx']
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user