RTC Pre-commit scripts
I am currently running an internal system with Mecurial HG that runs pre-commit nodeJs scripts to run tasks such as HTML/CSS/Js linting, Js unit tests or SASS compilation. This allows me to add a layer of code quality control around my team.
Is there any functionality that would allow us to replicate this functionality with RTC and is there any documentation pertaining to this?
Is there any functionality that would allow us to replicate this functionality with RTC and is there any documentation pertaining to this?
Accepted answer
RTC comes with several client side and server side "Advisors" which are pre-conditions that run before and can prevent delivery of code. It is possible to write your own advisors. You can find examples for the API's here: https://rsjazz.wordpress.com/ . In addition you can run anything you want during builds and fail builds. This would indicate the user, during private builds, that they need to tidy up before delivering.