diff options
| author | Peter Bacon Darwin | 2014-03-11 06:34:09 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-03-11 06:35:19 +0000 |
| commit | d1214af13245b8570a335a6cbc1d81ae3c366eb0 (patch) | |
| tree | 9cc1f78db3ad4f37b117579fd899c90d806bed22 /Gruntfile.js | |
| parent | 11c5bb7f3de13722a84c5503129097393056061e (diff) | |
| download | angular.js-d1214af13245b8570a335a6cbc1d81ae3c366eb0.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(); |
