No description
Find a file
Dave Geddes 79b51d5b57 chore(Grunt): switch from Rake to Grunt
Migrates the Angular project from Rake to Grunt.

Benefits:
- Drops Ruby dependency
- Lowers barrier to entry for contributions from JavaScript ninjas
- Simplifies the Angular project setup and build process
- Adopts industry-standard tools specific to JavaScript projects
- Support building angular.js on Windows platform (really?!? why?!?)

BREAKING CHANGE: Rake is completely replaced by Grunt. Below are the deprecated Rake tasks and their Grunt equivalents:

rake --> grunt
rake package --> grunt package
rake init --> N/A
rake clean --> grunt clean
rake concat_scenario --> grunt build:scenario
rake concat --> grunt build
rake concat_scenario --> grunt build:scenario
rake minify --> grunt minify
rake version --> grunt write:version
rake docs --> grunt docs
rake webserver --> grunt webserver
rake test --> grunt test
rake test:unit --> grunt test:unit
rake test:<jqlite|jquery|modules|e2e> --> grunt test:<jqlite|jquery|modules|end2end|e2e>
rake test[Firefox+Safari] --> grunt test --browsers Firefox,Safari
rake test[Safari] --> grunt test --browsers Safari
rake autotest --> grunt autotest

NOTES:
* For convenience grunt test:e2e starts a webserver for you, while grunt test:end2end doesn't.
  Use grunt test:end2end if you already have the webserver running.
* Removes duplicate entry for Describe.js in the angularScenario section of angularFiles.js
* Updates docs/src/gen-docs.js to use #done intead of the deprecated #end
* Uses grunt-contrib-connect instead of lib/nodeserver (removed)
* Removes nodeserver.sh, travis now uses grunt webserver
* Built and minified files are identical to Rake's output, with the exception of one less
  character for git revisions (using --short) and a couple minor whitespace differences

Closes #199
2013-03-05 23:00:33 -08:00
css refactor(directives): connect new compiler 2012-01-25 11:50:37 -08:00
docs chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
example fix(scenario): Adding meta tag to avoid cache issues 2012-08-30 15:36:42 -07:00
i18n fix(scenario): Adding meta tag to avoid cache issues 2012-08-30 15:36:42 -07:00
images chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
lib chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
logs creating logs/ and tmp/ dirs 2010-10-29 10:47:06 -07:00
src chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
test feat($compile): allow directives to modify interpolated attributes 2013-02-28 17:27:27 -08:00
.gitignore chore(jstd): remove JsTestDriver from our repo 2012-10-18 03:13:04 -07:00
.travis.yml chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
angularFiles.js chore(Rakefile): remove a duplicate file in angularFiles.js 2013-01-16 23:45:09 -08:00
changelog.js chore(changelog.js): improve the changelog script 2013-01-22 22:49:00 -08:00
CHANGELOG.md docs(changelog): fix release notes 2013-02-20 15:44:19 -08:00
changelog.spec.js chore(changelog.js): improve the changelog script 2013-01-22 22:49:00 -08:00
changelog.tmp.md chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
check-size.sh chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
CONTRIBUTING.md docs(CONTRIBUTING.md): add contrib info file for GitHub 2012-11-25 21:00:14 +01:00
gdocs.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
gen_docs.sh chore(docs): get correct location for jasmine-node 2012-09-06 16:06:25 -07:00
Gruntfile.js chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
init-repo.sh chore(scripts): add init-repo script 2012-09-11 17:27:57 -07:00
LICENSE chore(license): update to google 2012-04-20 11:29:34 -07:00
package.json chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
README.md chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
release-commit.sh chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
start-iteration.sh chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
testacular-e2e.conf.js chore(test): add junit config for testacular 2012-10-17 13:17:16 -07:00
testacular-jqlite.conf.js chore(test): add junit config for testacular 2012-10-17 13:17:16 -07:00
testacular-jquery.conf.js chore(test): add junit config for testacular 2012-10-17 13:17:16 -07:00
testacular-modules.conf.js chore(test): add junit config for testacular 2012-10-17 13:17:16 -07:00
validate-commit-msg.js fix(git-validator): support fixup and better errors 2013-01-17 23:52:46 -08:00
validate-commit-msg.spec.js fix(git-validator): support fixup and better errors 2013-01-17 23:52:46 -08:00
version.js chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
version.yaml chore(release): start 1.1.4 quantum-manipulation iteration 2013-02-23 21:11:51 -08:00
watchr-docs.rb chore(watchr): watchr scripts should output logs to terminal 2011-10-31 11:34:25 -07:00

AngularJS

AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTMLs syntax to express your applications components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding. To help you structure your application better and make it easy to test, AngularJS teaches the browser how to do dependency injection and inversion of control. Oh yeah and it also helps with server-side communication, taming async callbacks with promises and deferreds; and make client-side navigation and deeplinking with hashbang urls or HTML5 pushState a piece of cake. The best of all: it makes development fun!

Building AngularJS

Once you have your environment setup just run:

grunt package

Running Tests

To execute all unit tests, use:

grunt test:unit

To execute end-to-end (e2e) tests, use:

grunt package
grunt test:e2e

To learn more about the grunt tasks, run grunt --help and also read our contribution guidelines.