Method: Target#cp
- Defined in:
- lib/makeconf/target.rb
#cp(src, dst) ⇒ Object
Copy a file to a directory. This is more efficient than calling cp(1) for each file.
38 39 40 41 |
# File 'lib/makeconf/target.rb', line 38 def cp(src,dst) @files_to_copy[dst] ||= [] @files_to_copy[dst].push(src) end |