Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 8 lines (6 sloc) 0.272 kb
2272189 @lsegal Add rake task and script to clean index page cache
authored
1 #!/usr/bin/env ruby
2 # Removes index pages (gems, github, home)
7d5d3a0 @lsegal Cleanup requires in files, only use init
authored
3 require_relative '../init'
2272189 @lsegal Add rake task and script to clean index page cache
authored
4
ae79834 @lsegal Clear stdlib cache too
authored
5 ['gems/*.html', 'github/*.html', 'featured.html', 'github.html', 'gems.html', 'index.html', 'stdlib.html', '.html'].each do |file|
2272189 @lsegal Add rake task and script to clean index page cache
authored
6 system "rm #{File.join(STATIC_PATH, file)}"
7 end
Something went wrong with that request. Please try again.