From 6fc4fdb4383b42002071bdf74a93ee0ac1bb8b90 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 17 Sep 2012 14:50:07 -0700 Subject: [PATCH] docs(README): update README.md with new rake tasks --- README.md | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b6a98cad3474..f29dd2dd0f1e 100644 --- a/README.md +++ b/README.md @@ -15,15 +15,31 @@ it makes development fun! * Tutorial: http://docs.angularjs.org/tutorial * API Docs: http://docs.angularjs.org * Developer Guide: http://docs.angularjs.org/guide +* Contribution guidelines: http://docs.angularjs.org/misc/contribute -Compiling +Building AngularJS --------- - rake compile +[Once you have your environment setup](http://docs.angularjs.org/misc/contribute) just run: + + rake package + Running Tests ------------- - ./server.sh # start the server - open http://localhost:9876/capture # capture browser - ./test.sh # run all unit tests +Running tests requires installation of [Testacular](http://vojtajina.github.com/testacular): + + sudo npm install -g testacular + +To execute all unit tests, use: + + rake test:unit + +To execute end-to-end (e2e) tests, use: + rake package + rake webserver & + rake test:e2e +To learn more about the rake tasks, run `rake -T` and also read our +[contribution guidelines](http://docs.angularjs.org/misc/contribute) and instructions in this +[commit message](https://github.com/angular/angular.js/commit/9d168f058f9c6d7eeae0daa7cb72ea4e02a0003a).