Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rake file for installing the assets (currently just the stylesheet)

  • Loading branch information...
commit 12ffdadd9b226d58632aa8eaf1ed397fd6621b24 1 parent a32f6af
@dhh authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/tasks/conductor.rake
View
9 lib/tasks/conductor.rake
@@ -1,7 +1,8 @@
-desc 'Turn conductor into a plugin.'
namespace :conductor do
- task :install => :environment do
- # cp 'public/stylesheets/conductor.css', 'pkg/conductor/public/conductor.css'
- puts "hello"
+ namespace :install do
+ desc 'Copy assets from plugin to application.'
+ task :assets => :environment do
+ cp Conductor::Engine.root.join('public/stylesheets/conductor.css'), Rails.root.join('public/stylesheets/conductor.css')
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.