mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
fix(Rakefile): index-jq.html needs to be rewritten like index.html
This commit is contained in:
parent
74db92cd9f
commit
590cd14ae0
1 changed files with 9 additions and 0 deletions
9
Rakefile
9
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue