Add filtered publishing
This commit is contained in:
parent
e4e83a02f7
commit
9160ff3e7c
1 changed files with 2 additions and 2 deletions
|
|
@ -90,11 +90,11 @@ def copydirectory(File dirFrom, File dirTo) {
|
|||
if (!dirTo.exists()) {
|
||||
dirTo.mkdirs();
|
||||
}
|
||||
dirFrom.eachFile(FILES) { File source ->
|
||||
dirFrom.eachFile(FileType.FILES) { File source ->
|
||||
File target = new File(dirTo, source.getName())
|
||||
target.bytes = source.bytes
|
||||
}
|
||||
dirFrom.eachFile(DIRECTORIES) { File source ->
|
||||
dirFrom.eachFile(FileType.DIRECTORIES) { File source ->
|
||||
File target = new File(dirTo, source.getName())
|
||||
copyLargeDir(source, target)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue