summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2017-12-26 00:42:45 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2017-12-26 00:42:45 -0800
commit2d7241efab9ad4589b1a7db8353607a417ab1567 (patch)
tree7a735ea82ab22314fd3d6950266babfc35d9f2e4 /build.sc
parentefc073009550976814b750aa5436b1cda1d8ef5b (diff)
downloadmill-2d7241efab9ad4589b1a7db8353607a417ab1567.tar.gz
mill-2d7241efab9ad4589b1a7db8353607a417ab1567.tar.bz2
mill-2d7241efab9ad4589b1a7db8353607a417ab1567.zip
- Shift `MappingCtx` into a magic `LoaderCtx` `Loader` to avoid circular dependencies between `Ctx` -> `Discovered` -> `Task`
- `mill idea` works now using `GenIdea` as a standalone `T.command` making use of the new contextually-available `Mapping` - Limit implicit `ReplApplyHandler` to `--repl` only, to avoid it kicking in if `build.sc` scripts are screwed up and adding further confusion
Diffstat (limited to 'build.sc')
-rwxr-xr-xbuild.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sc b/build.sc
index 23c438b2..705e50d3 100755
--- a/build.sc
+++ b/build.sc
@@ -165,4 +165,4 @@ def releaseAssembly = T{
assemblyBase(assemblyClasspath().flatten, "")
}
-def idea = T{ mill.scalaplugin.GenIdea() } \ No newline at end of file
+def idea() = T.command{ mill.scalaplugin.GenIdea() } \ No newline at end of file