问题
How do I copy files contained within a PathFinder to a new directory?
回答1:
Answered on the sbt mailing list:
def copy(finder: PathFinder, dst: File) = {
IO.copy(finder.get map {f => (f, dst / f.getName)})
}
来源:https://stackoverflow.com/questions/9713483/copying-files-to-new-directory-in-sbt