2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2025-01-26 05:28:19 +03:00

Add config to publish

This commit is contained in:
asmodai 2017-06-26 23:49:59 +03:00
parent 4929127adc
commit 26f6ea6458
4 changed files with 10 additions and 4 deletions

2
metamod/extra/config.ini Normal file
View File

@ -0,0 +1,2 @@
debuglevel 0
clientmeta no

View File

@ -1,7 +1,7 @@
#pragma once
#include "h_export.h"
#include "dllapi.h" // GETENTITYAPI_FN, etc
#include "h_export.h"
#include "engine_api.h" // GET_ENGINE_FUNCTIONS_FN, etc
#include "enginecallbacks.h"
#include "plinfo.h" // plugin_info_t, etc

View File

@ -1,6 +1,6 @@
#pragma once
#include <extdll.h>
#include <util.h>
#include "plinfo.h"
// For GetGameInfo:

View File

@ -69,8 +69,12 @@ task publishPrepareFiles << {
into 'publish/publishRoot/metamod/sdk'
}
copy {
from 'metamod/extra'
into 'publish/publishRoot/metamod'
from 'metamod/extra/config.ini'
into 'publish/publishRoot/metamod/addons/metamod/'
}
copy {
from 'metamod/extra/example'
into 'publish/publishRoot/metamod/example'
}
copy {
from 'publish/publishRoot/metamod/sdk'