aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2011-07-29 19:35:27 -0700
committerIgor Minar2011-07-29 19:35:27 -0700
commiteb758bc60578cbc720917156238c07157ee736d7 (patch)
tree39e6c54c3c71b3df44f52644e9968da4075a30aa
parent761997e082b3b7201bc82e6c340fd952b8ab0d4a (diff)
downloadangular.js-eb758bc60578cbc720917156238c07157ee736d7.tar.bz2
fix(Rakefile): index-jq.html needs to be rewritten like index.html
-rw-r--r--Rakefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 5c953831..ab8036d8 100644
--- a/Rakefile
+++ b/Rakefile
@@ -261,6 +261,15 @@ task :package => [:clean, :compile, :docs] do
f.write text.sub('angular.min.js', "angular-#{NG_VERSION.full}.min.js")
end
+
+ File.open("#{pkg_dir}/docs-#{NG_VERSION.full}/index-jq.html", File::RDWR) do |f|
+ text = f.read
+ f.truncate 0
+ f.rewind
+ f.write text.sub('angular.min.js', "angular-#{NG_VERSION.full}.min.js")
+ end
+
+
File.open("#{pkg_dir}/docs-#{NG_VERSION.full}/docs-scenario.html", File::RDWR) do |f|
text = f.read
f.truncate 0