Update misleading SM version number
This commit is contained in:
parent
06cc61eee1
commit
8056b5c1a1
@ -8,7 +8,7 @@ compiler:
|
||||
- clang
|
||||
before_script:
|
||||
- cd ..
|
||||
- git clone --depth=1 --branch=1.7-dev https://github.com/alliedmodders/sourcemod sourcemod-1.5
|
||||
- git clone --depth=1 --branch=1.7-dev https://github.com/alliedmodders/sourcemod sourcemod-1.7
|
||||
- git clone --depth=1 --branch=master https://github.com/alliedmodders/ambuild
|
||||
- cd ambuild && python setup.py install --user
|
||||
- cd $TRAVIS_BUILD_DIR
|
||||
|
@ -32,7 +32,7 @@ class SM:
|
||||
self.compiler.DetectAll(AMBuild)
|
||||
|
||||
#Detect variables
|
||||
envvars = { 'SOURCEMOD15': 'sourcemod-1.5' }
|
||||
envvars = { 'SOURCEMOD': 'sourcemod-1.7' }
|
||||
|
||||
# Finds if a dict with `key` set to `value` is present on the dict of dicts `dictionary`
|
||||
def findDictByKey(dictionary, key, value):
|
||||
|
@ -4,7 +4,7 @@ environment:
|
||||
GYP_MSVS_VERSION: '2013'
|
||||
install:
|
||||
- cd ..
|
||||
- git clone --depth=1 --branch=1.7-dev https://github.com/alliedmodders/sourcemod sourcemod-1.5
|
||||
- git clone --depth=1 --branch=1.7-dev https://github.com/alliedmodders/sourcemod sourcemod-1.7
|
||||
- git clone --depth=1 --branch=master https://github.com/alliedmodders/ambuild
|
||||
- cd ambuild
|
||||
- C:\python27\python.exe setup.py install
|
||||
|
@ -45,9 +45,9 @@ def BuildExtension():
|
||||
|
||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.sourceFolder, 'extension'))
|
||||
|
||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD15'], 'public'))
|
||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD15'], 'public', 'extensions'))
|
||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD15'], 'public', 'sourcepawn'))
|
||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD'], 'public'))
|
||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD'], 'public', 'extensions'))
|
||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD'], 'public', 'sourcepawn'))
|
||||
|
||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.sourceFolder, 'breakpad', 'src', 'src'))
|
||||
|
||||
@ -64,7 +64,7 @@ def BuildExtension():
|
||||
'MemoryDownloader.cpp',
|
||||
])
|
||||
|
||||
binary.AddSourceFiles(AMBuild.cache['SOURCEMOD15'], ['public/smsdk_ext.cpp'])
|
||||
binary.AddSourceFiles(AMBuild.cache['SOURCEMOD'], ['public/smsdk_ext.cpp'])
|
||||
|
||||
if AMBuild.target['platform'] in ['linux']:
|
||||
link = os.path.join(AMBuild.outputFolder, extension.workFolder, 'libbreakpad_client.a')
|
||||
|
Loading…
Reference in New Issue
Block a user