cedric
04/06/2017, 2:15 AMfrom
here expects a directory, not a filecedric
04/06/2017, 2:15 AMcopy
wrapper, but I should probably fix thatcedric
04/06/2017, 2:16 AM@Directive
fun copy(from: From, to: To) {
with(File(from.path)) {
includedFiles.add(IncludedFile(from, to, listOf(IFileSpec.FileSpec(name))))
}
}
cedric
04/06/2017, 2:17 AMcedric
04/06/2017, 2:17 AMinclude(From, To, vararg String)
and include(From, To, vararg IFileSpec)
. Obviously, kotlinc
can't pick one if you only pass two parametersethauvin
04/06/2017, 2:19 AMinclude(to, vararg files)
, that would have worked, but I think what you're saying make more sense.ethauvin
04/06/2017, 2:25 AMcollect()
should return List<File>
and that would solve your problem.redrield
04/06/2017, 2:26 AMredrield
04/06/2017, 2:26 AMcedric
04/06/2017, 2:34 AMcedric
04/06/2017, 2:34 AMcollect
returns List<File>
in master
right nowcedric
04/06/2017, 2:35 AMcedric
04/06/2017, 2:35 AMPasted image at 2017-04-05, 7:35 PM▾
cedric
04/06/2017, 2:36 AMrhencke
04/06/2017, 2:47 AMrhencke
04/06/2017, 2:47 AMrhencke
04/06/2017, 2:48 AMgit log --oneline --no-merges --format=" * %s"
ethauvin
04/06/2017, 4:38 AMcopy()
not actually copying, etc. Or do I need to open a new issue? Don't think I can re-open the old one where I commented on.cedric
04/06/2017, 4:38 AMcedric
04/06/2017, 4:38 AMethauvin
04/06/2017, 4:39 AMethauvin
04/06/2017, 4:39 AMcedric
04/06/2017, 4:40 AMethauvin
04/06/2017, 4:41 AMcedric
04/06/2017, 4:41 AMethauvin
04/06/2017, 4:42 AMcedric
04/06/2017, 4:42 AMethauvin
04/06/2017, 4:44 AMcedric
04/06/2017, 4:44 AMethauvin
04/06/2017, 4:44 AM