diff options
author | Tobias Roeser <le.petit.fou@web.de> | 2019-02-11 08:37:48 +0100 |
---|---|---|
committer | Tobias Roeser <le.petit.fou@web.de> | 2019-02-11 08:37:48 +0100 |
commit | 671741553c6e753ce863d39b26bb69f501b1e098 (patch) | |
tree | 17aebeb73dbd3232bf341000b498d1ccd1a8de9a | |
parent | c21737f86fa146ca2b3fe51d359ffefb122346e7 (diff) | |
download | mill-671741553c6e753ce863d39b26bb69f501b1e098.tar.gz mill-671741553c6e753ce863d39b26bb69f501b1e098.tar.bz2 mill-671741553c6e753ce863d39b26bb69f501b1e098.zip |
Corrected Java example: sources -> allSources
Fixes https://github.com/lihaoyi/mill/issues/538
Thanks to Jim Kleckner
-rw-r--r-- | docs/pages/4 - Tasks.md | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |