diff options
| author | Peter Bacon Darwin | 2014-03-11 06:34:09 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-03-11 06:54:52 +0000 |
| commit | 550fc21ce562aa5250370b62a02cc9d17ca4a106 (patch) | |
| tree | 135212304a68b9a36ce99eaf211bbfea188fbf7c /Gruntfile.js | |
| parent | a8aba8957be799823391168352a435fe60e3fc7d (diff) | |
| download | angular.js-550fc21ce562aa5250370b62a02cc9d17ca4a106.tar.bz2 | |
chore(build): refactor build version information
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 01dbb952..5ec05f70 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,5 +1,6 @@ var files = require('./angularFiles').files; var util = require('./lib/grunt/utils.js'); +var versionInfo = require('./lib/versions/version-info'); var path = require('path'); module.exports = function(grunt) { @@ -8,10 +9,10 @@ module.exports = function(grunt) { grunt.loadTasks('lib/grunt'); - var NG_VERSION = util.getVersion(); + var NG_VERSION = versionInfo.currentVersion; + NG_VERSION.cdn = versionInfo.currentPackage.cdnVersion; var dist = 'angular-'+ NG_VERSION.full; - //global beforeEach util.init(); |
