public
Fork of activescaffold/active_scaffold
Description:
Homepage: http://activescaffold.com
Clone URL: git://github.com/gaffo/active_scaffold.git
gaffo (author)
Thu Nov 13 07:33:59 -0800 2008
commit  cab391cd7ffac028f84bf7be1f1118034d93fdba
tree    9d625d430024f8a0dd5f6a7996b5d3404bf4a965
parent  c31768590033d6ba4eb5a3308fd0a34620096bd0
active_scaffold / uninstall.rb
100644 12 lines (9 sloc) 0.258 kb
1
2
3
4
5
6
7
8
9
10
11
12
##
## Delete public asset files
##
 
require 'fileutils'
 
directory = File.dirname(__FILE__)
 
[ :stylesheets, :javascripts, :images].each do |asset_type|
  path = File.join(directory, "../../../public/#{asset_type}/active_scaffold")
  FileUtils.rm_r(path)
end