From 671741553c6e753ce863d39b26bb69f501b1e098 Mon Sep 17 00:00:00 2001 From: Tobias Roeser Date: Mon, 11 Feb 2019 08:37:48 +0100 Subject: Corrected Java example: sources -> allSources Fixes https://github.com/lihaoyi/mill/issues/538 Thanks to Jim Kleckner --- docs/pages/4 - Tasks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/pages/4 - Tasks.md') diff --git a/docs/pages/4 - Tasks.md b/docs/pages/4 - Tasks.md index 78a6e58e..ea6fe36d 100644 --- a/docs/pages/4 - Tasks.md +++ b/docs/pages/4 - Tasks.md @@ -21,7 +21,7 @@ def allSources = T { sourceRoot().flatMap(p => os.walk(p.path)).map(PathRef(_)) def classFiles = T { os.makeDir.all(T.ctx().dest) - %("javac", sources().map(_.path.toString()), "-d", T.ctx().dest)(wd = T.ctx().dest) + %("javac", allSources().map(_.path.toString()), "-d", T.ctx().dest)(wd = T.ctx().dest) PathRef(T.ctx().dest) } -- cgit v1.2.3