1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

InstallTest and BuildFilesTest.

This commit is contained in:
Cedric Beust 2017-04-06 12:51:54 -07:00
parent f83bdfe3b2
commit b0e823958b
4 changed files with 60 additions and 4 deletions

View file

@ -21,7 +21,7 @@ open class IncludeFromTo {
@Directive
fun copy(from: From, to: To) {
val dir = File(from.path).parentFile
val dir = File(from.path).absoluteFile.parentFile
includedFiles.add(IncludedFile(from(dir.absolutePath), to, listOf(IFileSpec.FileSpec(from.path))))
}