]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Add developer instructions in readme.md
authorIskren Chernev <iskren.chernev@gmail.com>
Thu, 16 Jan 2014 20:43:23 +0000 (12:43 -0800)
committerIskren Chernev <iskren.chernev@gmail.com>
Thu, 16 Jan 2014 20:43:23 +0000 (12:43 -0800)
readme.md

index 1469d256774491ac817b2dda0d3b4068b99d241b..22fb216e6a279571952602cec103af4e76637b8c 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -28,6 +28,22 @@ Develop [![Build Status](https://travis-ci.org/moment/moment.png?branch=develop)
 
 Master [![Build Status](https://travis-ci.org/moment/moment.png?branch=master)](https://travis-ci.org/moment/moment)
 
+For developers
+==============
+
+You need [node](http://nodejs.org/), use [nvm](https://github.com/creationix/nvm) or [nenv](https://github.com/ryuone/nenv) to install it.
+
+Then, in your shell
+
+```bash
+git clone https://github.com/moment/moment.git
+cd moment
+npm install -g grunt-cli
+npm install
+git checkout develop  # all patches against develop branch, please!
+grunt                 # this runs tests and jshint
+```
+
 Changelog
 =========