diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-17 11:50:20 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-17 11:53:07 -0800 |
commit | 92edcae5094e52783f825021e4172a6b072300e0 (patch) | |
tree | 8da5d9e01a9703601ef13c8ee5478501251b6836 /docs/pages/6 - Extending Mill.md | |
parent | 650ab9c937159cd31721e576f7174c8167f19a70 (diff) | |
download | mill-92edcae5094e52783f825021e4172a6b072300e0.tar.gz mill-92edcae5094e52783f825021e4172a6b072300e0.tar.bz2 mill-92edcae5094e52783f825021e4172a6b072300e0.zip |
Include example zips in docs
Diffstat (limited to 'docs/pages/6 - Extending Mill.md')
-rw-r--r-- | docs/pages/6 - Extending Mill.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/pages/6 - Extending Mill.md b/docs/pages/6 - Extending Mill.md index d5ec2dbc..cff03ff2 100644 --- a/docs/pages/6 - Extending Mill.md +++ b/docs/pages/6 - Extending Mill.md @@ -18,6 +18,12 @@ isn't covered by the built-in `ScalaModule`s/`ScalaJSModule`s, simply write a custom Target (for cached computations) or Command (for un-cached actions) and you're done. +For filesystem operations, you can use the +[Ammonite-Ops](http://ammonite.io/#Ammonite-Ops) library that comes bundled with +Mill, or even plain `java.nio`. Each target gets it's own +[T.ctx().dest](/page/tasks#millutilctxdestctx) folder that you can use to place +files without worrying about colliding with other targets + This covers use cases like: ### Compile some Javascript with Webpack and put it in your runtime classpath: |