diff --git a/README.md b/README.md index bc3b8e4..61489ff 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/metamod/build.gradle b/metamod/build.gradle index 4a72da3..c8a1ec9 100644 --- a/metamod/build.gradle +++ b/metamod/build.gradle @@ -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)