aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorIgor Minar2011-07-22 15:49:07 -0700
committerIgor Minar2011-07-22 15:49:10 -0700
commitfdd5d9471f3b330e3b941681c5b11e16e948da75 (patch)
tree0d243a418067e86f55fbcdd18aa66e4000455589 /Rakefile
parent0782422d1f319593ffe3f0d7b2372ba995ad362c (diff)
downloadangular.js-fdd5d9471f3b330e3b941681c5b11e16e948da75.tar.bz2
chore(license): update license headers + add version num
- fixed copyright overnship - updated copyright years - added @license tag so that closure compiler preserves the header - added version number into headers (finally!)
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index cce35778..aff1995f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -98,7 +98,7 @@ task :compile_scenario => :init do
concat = 'cat ' + deps.flatten.join(' ')
File.open(path_to('angular-scenario.js'), 'w') do |f|
- f.write(%x{#{concat}})
+ f.write(%x{#{concat}}.gsub('"NG_VERSION_FULL"', NG_VERSION.full))
f.write(gen_css('css/angular.css') + "\n")
f.write(gen_css('css/angular-scenario.css'))
end
@@ -116,7 +116,7 @@ task :compile_jstd_scenario_adapter => :init do
concat = 'cat ' + deps.flatten.join(' ')
File.open(path_to('jstd-scenario-adapter.js'), 'w') do |f|
- f.write(%x{#{concat}})
+ f.write(%x{#{concat}}.gsub('"NG_VERSION_FULL"', NG_VERSION.full))
end
# TODO(vojta) use jstd configuration when implemented