diff options
| author | Dave Geddes | 2012-10-21 00:37:59 -0600 |
|---|---|---|
| committer | Igor Minar | 2013-03-05 23:35:13 -0800 |
| commit | 7a77fdae4f6a1a03734374aacc7264ebd6dbe94d (patch) | |
| tree | 603153ab33e9927adf72b3316a10c44f504430f9 /src/AngularPublic.js | |
| parent | b13da18e11d5f67696906d1ecd2fc9e753d50da4 (diff) | |
| download | angular.js-7a77fdae4f6a1a03734374aacc7264ebd6dbe94d.tar.bz2 | |
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
Conflicts:
Rakefile
Diffstat (limited to 'src/AngularPublic.js')
| -rw-r--r-- | src/AngularPublic.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AngularPublic.js b/src/AngularPublic.js index 61c77af3..d281a2d5 100644 --- a/src/AngularPublic.js +++ b/src/AngularPublic.js @@ -14,8 +14,8 @@ * - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat". */ var version = { - full: '"NG_VERSION_FULL"', // all of these placeholder strings will be replaced by rake's - major: "NG_VERSION_MAJOR", // compile task + full: '"NG_VERSION_FULL"', // all of these placeholder strings will be replaced by grunt's + major: "NG_VERSION_MAJOR", // package task minor: "NG_VERSION_MINOR", dot: "NG_VERSION_DOT", codeName: '"NG_VERSION_CODENAME"' |
