mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
6 lines
No EOL
361 B
Ruby
6 lines
No EOL
361 B
Ruby
require "fileutils"
|
|
|
|
dest = File.dirname(__FILE__) + "/../../../public"
|
|
FileUtils.rm "#{dest}/javascripts/swfobject.js" rescue puts "Warning: swfobject.js could not be deleted"
|
|
FileUtils.rm "#{dest}/swfs/expressInstall.swf" rescue puts "Warning: expressInstall.swf could not be deleted"
|
|
Dir.rmdir "#{dest}/swfs/" rescue "don't worry if directory is not empty" |