Skip to content

Commit

Permalink
formatting and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
loosebazooka committed Feb 18, 2020
1 parent b27be3f commit abd7b41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,7 @@ public void testOutputFiles() {
public void testSkaffold() {
testJibExtension.skaffold(
skaffold -> {
skaffold.sync(
sync -> {
sync.setExcludes(fakeProject.files("sync1", "sync2"));
});
skaffold.sync(sync -> sync.setExcludes(fakeProject.files("sync1", "sync2")));
skaffold.watch(
watch -> {
watch.setBuildIncludes(ImmutableList.of("watch1", "watch2"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ public static class Sync {
@Parameter List<File> excludes = Collections.emptyList();
}

/**
* Watch is unused, but left here to define how to parse it. See {@link
* FilesMojoV2#collectWatchParameters}
*/
@Parameter Watch watch = new Watch();

@Parameter Sync sync = new Sync();
}

0 comments on commit abd7b41

Please sign in to comment.