From 590cd14ae0cd073b30c56d0d29dd1c03a954148f Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 29 Jul 2011 19:35:27 -0700 Subject: fix(Rakefile): index-jq.html needs to be rewritten like index.html --- Rakefile | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3