alexarchambault on 1.6.3
alexarchambault on master
lihaoyi on gh-pages
alexarchambault on master
Partly revert 84d48542 (#923) … (compare)
Common Commands/Manual Testingthere is line
mill -i amm[2.12.6].launcher creates a launcher script at out/amm/2.12.6/launcher/dest/run that can also be used to run Ammonite outside of the Mill build tool.
/out/amm/2.12.6/launcher/overriden/mill/scalalib/JavaModule/launcher/dest/run. Is it intendet to have that extra
With regards to installation, having JDK on the machine and then Installing VS Code, installing Metals extension - should be enough.
It bootstraps itself out of a Coursier launcher script so it should be painless.
Hey all! Is there a workaround to Ammonite not being able to disambiguate the same import when it occurs in multiple files with and without "^"?
So for a directory structure like this
- /common - commonDep.sc - /something - reusedScript.sc myScript.sc
I'm getting the following compile error:
myScript.sc:78: type mismatch; found : ammonite.$file.common.commonDep required: ammonite.$file.something.^.common.commonDep dep = dep, ^ Compilation Failed
import com.foo.bar.StateMachine val m = StateMachine(42) val compiled = m.compile() //////// Make changes to StateMachine.scala in the def compile and trigger a build loop so that StateMachine.class is updated/// val m = StateMachine(42) val compiled = m.compile() // <-------- Compiled using new code.
--watchwill be usefull? https://ammonite.io/#WatchandReload
hey, qq, just got a compilation error from a type mismatch which should be the same type but it might appear a different type because they are imported from different modules:
$file.folder.moduleName.typebut expects a
$file.^.folder.moduleName.type, which should be the same type.
Shouldn't this compile?
@mainisn't even executed in a file that is passed into
--predefhowever I want to do some logic in
--predefbased on command line arguments
os.list(os.pwd / "abc-def")
Any idea why I can't
@import $ivy.`org.typelevel::cats-core:2.1.1`, cats._, cats.data._, cats.implicits._ import $ivy.$ , cats._, cats.data._, cats.implicits._ @ val x = List(Some(1)) x: List[Some[Int]] = List(Some(1)) @ x.seq sequence sequence_ @ x.sequence cmd2.sc:1: Could not find an instance of Applicative for G val res2 = x.sequence ^ Compilation Failed
Some, only for
cs launch ammonite --scala-version 2.13.4
Ok. I think I want to try processing library for drawing.
For some reason I can't get ammonite to import it though.
seems to search maven for
instead of the address where things seem to actually exist:
Can I get this right somehow?
Or does this just mean my scala version is not supported.
::adds the scala version prefix, for java libraries you need to use
%%was used on this artifact instead of