Changeset 435
- Timestamp:
- 02/26/08 03:19:43 (11 months ago)
- Files:
-
- trunk/lib/deprec/capistrano_extensions.rb (modified) (1 diff)
- trunk/lib/deprec/recipes/deprec.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/deprec/capistrano_extensions.rb
r434 r435 33 33 end 34 34 35 # Local copies of deprec templates exist they will be used 35 # If local copies of deprec templates exist they will be used 36 # If you don't specify the location with the local_template_dir option 37 # it defaults to config/templates. 36 38 # e.g. config/templates/nginx/nginx.conf.erb 37 local_template = File.join( 'config','templates',app.to_s, template)39 local_template = File.join(local_template_dir, app.to_s, template) 38 40 if File.exists?(local_template) 39 41 puts trunk/lib/deprec/recipes/deprec.rb
r330 r435 9 9 end 10 10 end 11 12 # Deprec checks here for local versions of config templates before it's own 13 set :local_template_dir, File.join('config','templates') 11 14 12 15 # The following two Constants contain details of the configuration
