Skip to content

Commit

Permalink
[java] Copying static resources should create target directory
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Feb 18, 2019
1 parent 379f6b4 commit 7de490d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ private static void copy(String buildTarget, String copyTo) {

Path source = new BuckBuild().of(buildTarget).go();

Files.createDirectories(dest.getParent());
Files.copy(source, dest);
} catch (IOException e) {
throw new UncheckedIOException(e);
Expand Down

0 comments on commit 7de490d

Please sign in to comment.