aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2011-07-29 19:35:27 -0700
committerIgor Minar2011-08-18 23:23:41 -0700
commit590cd14ae0cd073b30c56d0d29dd1c03a954148f (patch)
tree39e6c54c3c71b3df44f52644e9968da4075a30aa
parent74db92cd9f37fc27e33ec0238e9f6afdcdb3e706 (diff)
downloadangular.js-590cd14ae0cd073b30c56d0d29dd1c03a954148f.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