diff --git a/index.html b/index.html index c3c371932..de3b2f1d3 100644 --- a/index.html +++ b/index.html @@ -85,7 +85,7 @@
The bulk of this page describes the latest stable release of Ammonite,
- 3.0.0-M2
. If you're willing to live on the edge,
+ 3.0.0
. If you're willing to live on the edge,
we also publish Unstable Versions from any commits that get pushed
or pull-requests that land in the master branch:
If you want to use Ammonite as a plain Scala shell, download the standalone - Ammonite 3.0.0-M2 executable for Scala 2.13 (also + Ammonite 3.0.0 executable for Scala 2.13 (also available for Older Scala Versions):
-$ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M2/2.13-3.0.0-M2) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
+ $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0/2.13-3.0.0) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
Or to try out the latest features in our
Unstable Release
- 3.0.0-M2-30-486378af:
+ 3.0.0-2-6342755f:
- $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M2/2.13-3.0.0-M2-30-486378af) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
+ $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0/2.13-3.0.0-2-6342755f) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
You can also download a bootstrap script, that can be downloaded and committed
to version control as a file `amm`:
- curl -L https://github.com/lihaoyi/ammonite/releases/download/3.0.0-M2/2.13-3.0.0-M2-bootstrap > amm && chmod +x amm
+ curl -L https://github.com/lihaoyi/ammonite/releases/download/3.0.0/2.13-3.0.0-bootstrap > amm && chmod +x amm
Installation on macOS
@@ -251,7 +251,7 @@
Installation on Windows
- Download the Latest version
+ Download the Latest version
and rename it to amm.bat
Running Ammonite REPL
@@ -283,14 +283,14 @@ libraryDependencies += {
val version = scalaBinaryVersion.value match {
case "2.10" => "1.0.3"
case "2.11" => "1.6.7"
- case _ ⇒ "3.0.0-M2"
+ case _ ⇒ "3.0.0"
}
"com.lihaoyi" % "ammonite" % version % "test" cross CrossVersion.full
}
@@ -317,9 +317,9 @@ latest features in our
Unstable Release
- 3.0.0-M2-30-486378af:
+ 3.0.0-2-6342755f:
- libraryDependencies += "com.lihaoyi" % "ammonite" % "3.0.0-M2-30-486378af" % "test" cross CrossVersion.full
+ libraryDependencies += "com.lihaoyi" % "ammonite" % "3.0.0-2-6342755f" % "test" cross CrossVersion.full
After that, simply hit
@@ -1443,7 +1443,7 @@
@ typeOf(repl.compiler).members.size // Too many methods to dig through!
-res0: Int = 1629
+res0: Int = 1632
@ // I forgot what I want but I think it has Raw in the name
@@ -1572,7 +1572,7 @@
+"""
Apart from plain save
s and load
s, which simply
discard everything after the most recent save, you can also provide a
@@ -1610,7 +1610,7 @@
+ """)
@@ -1932,7 +1932,7 @@
libraryDependencies += "com.lihaoyi" % "ammonite" % "3.0.0" cross CrossVersion.full
Then instantiate it with this code anywhere within your program: @@ -1965,7 +1965,7 @@
libraryDependencies += "com.lihaoyi" % "ammonite" % "3.0.0" cross CrossVersion.full
Note that unlike the snippet given above, we @@ -2038,7 +2038,7 @@
libraryDependencies += "com.lihaoyi" % "ammonite-sshd" % "3.0.0" cross CrossVersion.full
Now add repl server to your application: @@ -2123,18 +2123,18 @@
$ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M2/2.13-3.0.0-M2) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
+ $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0/2.13-3.0.0) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
Or to try out the latest features in our
Unstable Release
- 3.0.0-M2-30-486378af:
+ 3.0.0-2-6342755f:
- $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M2/2.13-3.0.0-M2-30-486378af) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
+ $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0/2.13-3.0.0-2-6342755f) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
And read on to learn about how Scala scripts work.
@@ -2728,7 +2728,7 @@
$ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M2/2.13-3.0.0-M2) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
+ $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0/2.13-3.0.0) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
$ amm path/to/script.sc
@@ -2965,9 +2965,9 @@ Main
class.
- Add the ammonite 3.0.0-M2 dependency to build.sbt
:
+ Add the ammonite 3.0.0 dependency to build.sbt
:
- libraryDependencies += "com.lihaoyi" % "ammonite" % "3.0.0-M2" % "test" cross CrossVersion.full
+ libraryDependencies += "com.lihaoyi" % "ammonite" % "3.0.0" % "test" cross CrossVersion.full
In your test directory, create a class like:
@@ -3471,9 +3471,9 @@
$ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M2/2.12-3.0.0-M2) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
+ $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0/2.12-3.0.0) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
Ammonite can also be used in old versions of Scala, embedded in an SBT
@@ -3559,14 +3559,15 @@
Changelog
- 3.0.0-M2
+ 3.0.0
-
- Support for Scala 2.13.14
+ Support for Scala 2.13.15, 3.5.1
-
Added more Scala 3 keywords to the internal parser
-
- API facing dependency updates: geny 1.1.0, os-lib 0.10.0, pprint 0.9.0, requests 0.8.2, sourcecode 0.4.1
+ API facing dependency updates: geny 1.1.0, os-lib 0.10.0, pprint 0.9.0,
+ requests 0.8.2, sourcecode 0.4.1, uPickle 4.0.1
-
Various other dependency updates
3.0.0-M1
@@ -5158,12 +5159,12 @@ Unstable Versions
The page above contains the documentation for the latest stable version
- of Ammonite, 3.0.0-M2
. Ammonite also publishes
+ of Ammonite, 3.0.0
. Ammonite also publishes
unstable versions, the latest of which is
- 3.0.0-M2-30-486378af
and is available for direct
+ 3.0.0-2-6342755f
and is available for direct
download:
- $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M2/2.13-3.0.0-M2-30-486378af) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
+ $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0/2.13-3.0.0-2-6342755f) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
On Cygwin, run the following after the above:
@@ -5174,12 +5175,12 @@
https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M2/2.13-3.0.0-M2-30-486378af
+ https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0/2.13-3.0.0-2-6342755f
For usage in a SBT project:
- libraryDependencies += "com.lihaoyi" % "ammonite" % "3.0.0-M2-30-486378af" % "test" cross CrossVersion.full
+ libraryDependencies += "com.lihaoyi" % "ammonite" % "3.0.0-2-6342755f" % "test" cross CrossVersion.full
Ammonite also provides standalone unstable executables for older versions
@@ -5187,9 +5188,9 @@
$ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M2/2.12-3.0.0-M2-30-486378af) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
+ $ sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0/2.12-3.0.0-2-6342755f) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm
These unstable versions will contain any brand-new features that are
currently being worked on, with the caveat that they are unstable and
@@ -5209,7 +5210,7 @@