summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorrockjam <5min4eq.unity@gmail.com>2018-01-10 01:27:30 +0300
committerrockjam <5min4eq.unity@gmail.com>2018-01-10 01:27:30 +0300
commitedf6e32fd1fd2660355d4034291d71d677c19b31 (patch)
tree47cb385ab130271d2ac60ff901c5a670e8f98d41 /readme.md
parentd13b6b1f306c1e660da66ab7b8bf5595772af55c (diff)
downloadmill-edf6e32fd1fd2660355d4034291d71d677c19b31.tar.gz
mill-edf6e32fd1fd2660355d4034291d71d677c19b31.tar.bz2
mill-edf6e32fd1fd2660355d4034291d71d677c19b31.zip
update readme with pretified REPL examples
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md67
1 files changed, 57 insertions, 10 deletions
diff --git a/readme.md b/readme.md
index 46fbae26..58116a5a 100644
--- a/readme.md
+++ b/readme.md
@@ -153,31 +153,78 @@ res0: build.type = build
!= core scalalib bridges getClass isInstanceOf |>
== MillModule asInstanceOf equals hashCode toString
@ build.core
-res1: core.type = ammonite.predef.$up.build$core$@5600c124
+res1: core = ammonite.predef.build#core:45
+Children:
+ .test
+Commands:
+ .console()()
+ .run(args: String*)()
+ .runMain(mainClass: String, args: String*)()
+Targets:
+ .allSources()
+ .artifactId()
+ .artifactName()
+ .artifactScalaVersion()
+ .assembly()
+ .assemblyClasspath()
+ .classpath()
+ .compile()
+ .compileDepClasspath()
+ .compileIvyDeps()
+ .compilerBridge()
+ .crossFullScalaVersion()
+ .depClasspath()
+ .docsJar()
+ .externalCompileDepClasspath()
+ .externalCompileDepSources()
+...
@ core
-res2: core.type = ammonite.predef.$up.build$core$@5600c124
+res2: core.type = ammonite.predef.build#core:45
+Children:
+ .test
+Commands:
+ .console()()
+ .run(args: String*)()
+ .runMain(mainClass: String, args: String*)()
+Targets:
+ .allSources()
+ .artifactId()
+ .artifactName()
+ .artifactScalaVersion()
+ .assembly()
+ .assemblyClasspath()
+ .classpath()
+ .compile()
+ .compileDepClasspath()
+ .compileIvyDeps()
+ .compilerBridge()
+ .crossFullScalaVersion()
+ .depClasspath()
+ .docsJar()
+ .externalCompileDepClasspath()
+ .externalCompileDepSources()
+...
@ core.scalaV
scalaVersion
@ core.scalaVersion
-res3: define.Target[String] = ammonite.predef.^.build.MillModule#scalaVersion@4b7d16
+res3: mill.define.Target[String] = ammonite.predef.build#MillModule#scalaVersion:20
+Inputs:
@ core.scalaVersion()
-Running core.scalaVersion
+[1/1] core.scalaVersion
res4: String = "2.12.4"
@ core.ivyDeps()
Running core.ivyDeps
-res5: Seq[scalalib.Dep] = List(
- Scala(
- Dependency(
- Module("com.lihaoyi", "sourcecode", Map()),
- "0.1.4",
+[1/1] core.ivyDeps
+res5: Seq[mill.scalalib.Dep] = List(
+ Scala(Dependency(Module("com.lihaoyi", "sourcecode", Map()),
+ "0.1.4",
...
@ core.ivyDeps().foreach(println)
-Running core.ivyDeps
Scala(Dependency(com.lihaoyi:sourcecode,0.1.4,,Set(),Attributes(,),false,true))
Scala(Dependency(com.lihaoyi:pprint,0.5.3,,Set(),Attributes(,),false,true))
Point(Dependency(com.lihaoyi:ammonite,1.0.3,,Set(),Attributes(,),false,true))