2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2024-12-26 22:55:36 +03:00

Add badge

This commit is contained in:
s1lent 2017-06-29 00:27:46 +07:00
parent 7e46cf73f6
commit 26e813a57a
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C
2 changed files with 5 additions and 2 deletions

View File

@ -1,2 +1,3 @@
# metamod-r
# metamod-r [![Build Status](http://teamcity.rehlds.org/app/rest/builds/buildType:(id:Metamod_Publish)/statusIcon)](http://teamcity.rehlds.org/viewType.html?buildTypeId=Metamod_Publish&guest=1) [![Download](https://camo.githubusercontent.com/debe101d4b55b28f47fb4d7aac1108891f25f113/687474703a2f2f7265686c64732e6f72672f76657273696f6e2f6d6574616d6f642d2d722d6c6162656c2e737667)](http://teamcity.rehlds.org/guestAuth/downloadArtifacts.html?buildTypeId=Metamod_Publish&buildId=lastSuccessful)
Metamod-r is fully reworked fork of original Metamod by Jussi Kivilinna for Half-Life 1. It contains a huge number of performance optimizations and much cleaner code. The core was written using the JIT compiler.

View File

@ -69,7 +69,7 @@ void setupToolchain(NativeBinarySpec b)
'_snprintf': 'snprintf'
])
cfg.compilerOptions.args '-Qoption,cpp,--treat_func_as_string_literal_cpp', '-msse2', '-fomit-frame-pointer', '-inline-forceinline', '-fvisibility=default', '-fvisibility-inlines-hidden', '-fno-rtti', '-g0', '-s'
cfg.compilerOptions.args '-Qoption,cpp,--treat_func_as_string_literal_cpp', '-msse2', '-fomit-frame-pointer', '-inline-forceinline', '-fvisibility=default', '-fvisibility-inlines-hidden', '-fno-rtti', '-g0', '-s', '-fno-exceptions'
}
ToolchainConfigUtils.apply(project, cfg, b)
@ -177,6 +177,8 @@ task generateAppVersion {
inputs.property('version', verInfo.asMavenVersion())
inputs.property('lastCommitDate', verInfo.lastCommitDate.toString())
println "##teamcity[buildNumber '" + verInfo.asVersion() + "']";
doLast {
def content = VelocityUtils.renderTemplate(tplFile, verInfo)