Skip to content

Commit a3a811c

Browse files
Update dependencies and add reference to main.js (#1)
* Update dependencies Signed-off-by: shashank78456 <[email protected]> * Add reference to main.js file in README.md to help in setting environment variables --------- Signed-off-by: shashank78456 <[email protected]>
1 parent 18f050d commit a3a811c

File tree

8 files changed

+24
-9
lines changed

8 files changed

+24
-9
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ sudo make install
133133

134134
> You need to set `LOADER_LIBRARY_PATH` to the build directory created in the script above before running `sbt`, i.e. `LOADER_LIBRARY_PATH=path/to/core/build sbt`
135135
136+
You can also set environment variables by running `main.js` file in MetaCall REPL and then copy-pasting the generated export statements into your terminal
137+
136138
To run the tests in Docker, run `sbt` then `docker` to build the image (must run `docker` from within the SBT session), and then `sbt dockerTest` to run it. Note that you should build the `metacall/core:dev` image locally since the published one might not be up to date by running `./docker-compose.sh build` in `metacall/core`'s root. Pay attention to SBT's error messages.
137139

138140
### Debugging

build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ThisBuild / scalaVersion := "2.13.4"
1+
ThisBuild / scalaVersion := "2.13.12"
22
ThisBuild / organization := "io.metacall"
33
ThisBuild / organizationName := "MetaCall"
44

@@ -52,7 +52,7 @@ lazy val root = (project in file("."))
5252
scalacOptions ++= commonScalacOptions,
5353
scalacOptions in (Compile, console) := Seq.empty,
5454
libraryDependencies ++= Seq(
55-
"net.java.dev.jna" % "jna" % "5.6.0",
55+
"net.java.dev.jna" % "jna" % "5.13.0",
5656
"com.chuusai" %% "shapeless" % "2.3.3",
5757
"org.scalatest" %% "scalatest" % "3.2.2" % Test
5858
),

example/build.sbt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ThisBuild / scalaVersion := "2.13.4"
1+
ThisBuild / scalaVersion := "2.13.12"
22
ThisBuild / version := "0.1.0-SNAPSHOT"
33
ThisBuild / organization := "com.example"
44
ThisBuild / organizationName := "example"
@@ -14,6 +14,7 @@ lazy val root = (project in file("."))
1414
resolvers += Resolver.githubPackages("metacall"),
1515
libraryDependencies ++= Seq(
1616
"io.metacall" %% "metacall" % "0.1.0",
17-
"org.scalatest" %% "scalatest" % "3.2.2" % Test
17+
"org.scalatest" %% "scalatest" % "3.2.2" % Test,
18+
"net.java.dev.jna" % "jna" % "5.13.0"
1819
)
1920
)

example/project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.4.7
1+
sbt.version=1.10.7

project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.4.7
1+
sbt.version=1.10.7

project/metals.sbt

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
// format: off
12
// DO NOT EDIT! This file is auto-generated.
3+
24
// This file enables sbt-bloop to create bloop config files.
35

4-
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.4.8")
6+
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "2.0.8")
7+
8+
// format: on

project/project/metals.sbt

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
// format: off
12
// DO NOT EDIT! This file is auto-generated.
3+
24
// This file enables sbt-bloop to create bloop config files.
35

4-
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.4.8")
6+
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "2.0.8")
7+
8+
// format: on

project/project/project/metals.sbt

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
// format: off
12
// DO NOT EDIT! This file is auto-generated.
3+
24
// This file enables sbt-bloop to create bloop config files.
35

4-
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.4.8")
6+
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "2.0.8")
7+
8+
// format: on

0 commit comments

Comments
 (0)