Skip to content

Commit

Permalink
Improvements to hobo:symlink_assets task
Browse files Browse the repository at this point in the history
  • Loading branch information
tslocke committed Jun 26, 2008
1 parent 06901c3 commit 14099d2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions hobo/tasks/hobo_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,22 @@ namespace :hobo do
Dir.chdir("#{RAILS_ROOT}/public") do
Dir.chdir("javascripts") do
puts "hobo-rapid.js"
`rm -f hobo-rapid.js`
`rm -fi hobo-rapid.js`
`ln -s ../../vendor/plugins/hobo/rails_generators/hobo_rapid/templates/hobo-rapid.js`
end

Dir.chdir("hobothemes") do
puts "hobothemes/clean"
`rm -f clean`
puts "public/hobothemes/clean"
`rm -rfi clean`
`ln -s ../../vendor/plugins/hobo/rails_generators/hobo_rapid/templates/themes/clean/public clean`
end
end

Dir.chdir("#{RAILS_ROOT}/app/views/taglibs/themes") do
puts 'taglibs/themes/clean'
`rm -rfi clean`
`ln -s ../../../../vendor/plugins/hobo/rails_generators/hobo_rapid/templates/themes/clean/views clean`
end

end

Expand Down

0 comments on commit 14099d2

Please sign in to comment.