mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-13 17:23:11 +00:00
docs(README): update README.md with new rake tasks
This commit is contained in:
parent
74c574015d
commit
ccd52abf5d
1 changed files with 21 additions and 5 deletions
26
README.md
26
README.md
|
|
@ -15,15 +15,31 @@ it makes development fun!
|
||||||
* Tutorial: http://docs.angularjs.org/tutorial
|
* Tutorial: http://docs.angularjs.org/tutorial
|
||||||
* API Docs: http://docs.angularjs.org
|
* API Docs: http://docs.angularjs.org
|
||||||
* Developer Guide: http://docs.angularjs.org/guide
|
* 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
|
Running Tests
|
||||||
-------------
|
-------------
|
||||||
./server.sh # start the server
|
Running tests requires installation of [Testacular](http://vojtajina.github.com/testacular):
|
||||||
open http://localhost:9876/capture # capture browser
|
|
||||||
./test.sh # run all unit tests
|
|
||||||
|
|
||||||
|
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).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue