Developing - RuntimeTools/appmetrics GitHub Wiki

You will need a git client, Python 2.7 and a compiler to clone and build. See Prerequisites for building appmetrics from source code.

Get the source code

Clone from github

git clone --recursive https://github.com/RuntimeTools/appmetrics

You now have latest dev code. To change to the latest release, checkout the tag for the latest release e.g. for 3.0.1:

git checkout tags/3.0.1

Build

To build inside the source tree (without downloading Health Center core binaries):

cd appmetrics
npm install node-gyp [email protected]
node_modules/.bin/node-gyp configure rebuild

To build and install (and run install scripts), go up a level and install the project directory:

cd ..
npm install ./appmetrics

On Windows, if you have more than one version of Microsoft Visual Studio installed, you may need to configure npm to choose the correct version using npm config (for example, npm config set msvs_version 2012).

Repository layout

The main development branch is master. Each release is tagged X.Y.Z.

Versioning scheme

The npm package for this project uses a semver-parsable X.Y.Z version number for releases, where X is incremented for breaking changes to the public API, Y is incremented for new function and Z is incremented for bug fixes and for non-breaking changes to the public API.

Development versions

Non-release versions of this project will use semver-parsable X.Y.Z-dev.B version numbers, where X.Y.Z is the last release with Z incremented and B is an integer.